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