]>
Commit | Line | Data |
---|---|---|
1 | $Id$ | |
2 | ||
3 | Important: | |
4 | - don't set any flags automatically; always follow user | |
5 | suggestion (multicast, arp) | |
6 | - merge baggins changes in atm-rc (added support for RFC1483/2684 Bridged | |
7 | protocol) | |
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: | |
13 | killproc slapd -TERM --waitforname slapd --waitfortime 300 | |
14 | while correct would be: | |
15 | killproc --waitforname slapd --waitfortime 300 slapd -TERM | |
16 | - switch to use __umount_*loop instead of own umount loop when stopping system | |
17 | - rc-scripts won't work if /dev/console is invalid (for example I made typo when configuring serial | |
18 | console, console=ttys1,... instead of console=ttyS1) - rc.d/rc uses /dev/console a lot | |
19 | ||
20 | Other: | |
21 | - maybe merge ATM rc scripts | |
22 | ||
23 | We are waiting for suggestions. | |
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 |