]>
Commit | Line | Data |
---|---|---|
de1fc6ce | 1 | Important: |
6a2c03da | 2 | - don't set any flags automatically; always follow user |
de1fc6ce | 3 | suggestion (multicast, arp) |
de1fc6ce JR |
4 | - merge baggins changes in atm-rc (added support for RFC1483/2684 Bridged |
5 | protocol) | |
485af7e4 ER |
6 | - killproc() sucks and has no consistency, error reporting |
7 | you'll never know which side of PROCNAME you should add the --waitforname or -SIGNAL args | |
8 | because if you put -SIGNAL at wrong side of PROGNAME it will enter infinitive loop: | |
9 | killproc -TERM --waitforname slapd --waitfortime 300 slapd | |
10 | if you put --waitforname at wrong side, it will just ignore them: | |
6cd20143 | 11 | killproc slapd -TERM --waitforname slapd --waitfortime 300 |
485af7e4 ER |
12 | while correct would be: |
13 | killproc --waitforname slapd --waitfortime 300 slapd -TERM | |
7586a159 | 14 | - switch to use __umount_*loop instead of own umount loop when stopping system |
6cd20143 | 15 | - rc-scripts won't work if /dev/console is invalid (for example I made typo when configuring serial |
8441c581 | 16 | console, console=ttys1,... instead of console=ttyS1) - rc.d/rc uses /dev/console a lot |
de1fc6ce | 17 | |
de1fc6ce JR |
18 | Other: |
19 | - maybe merge ATM rc scripts | |
20 | ||
21 | We are waiting for suggestions. | |
d15bc3fa ER |
22 | |
23 | upstart: | |
24 | +upstart_controlled --except reload | |
25 | + | |
26 | +# return true if service is considered "up" | |
27 | +# with upstart, upstart is consulted | |
28 | +# otherwise lockfile in subsys must exist | |
29 | +is_service_up() { | |
30 | + use_upstart && is_upstart_running "$1" || [ -f /var/lock/subsys/"$1" ] | |
31 | +} | |
32 | + | |
33 | ||
34 | from nscd.init | |
35 |