Rev 3 | Rev 73 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3 | Rev 71 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | SESSION_DAEMON=/usr/sbin/prayer-session |
17 | SESSION_DAEMON=/usr/sbin/prayer-session |
18 | FRONTEND_PIDFILE=/var/run/prayer/prayer.pid |
18 | FRONTEND_PIDFILE=/var/run/prayer/prayer.pid |
19 | SESSION_PIDFILE=/var/run/prayer/prayer-session.pid |
19 | SESSION_PIDFILE=/var/run/prayer/prayer-session.pid |
20 | DESC="webmail server" |
20 | DESC="webmail server" |
21 | 21 | ||
22 | test -x $DAEMON || exit 0 |
22 | test -x $FRONTEND_DAEMON -a -x $SESSION_DAEMON || exit 0 |
23 | 23 | ||
24 | . /lib/lsb/init-functions |
24 | . /lib/lsb/init-functions |
25 | 25 | ||
26 | ENABLED=0 |
26 | ENABLED=0 |
27 | 27 | ||
Line 74... | Line 74... | ||
74 | # If the "reload" option is implemented, move the "force-reload" |
74 | # If the "reload" option is implemented, move the "force-reload" |
75 | # option to the "reload" entry above. If not, "force-reload" is |
75 | # option to the "reload" entry above. If not, "force-reload" is |
76 | # just the same as "restart". |
76 | # just the same as "restart". |
77 | # |
77 | # |
78 | stop |
78 | stop |
- | 79 | sleep 1 |
|
79 | start |
80 | start |
80 | ;; |
81 | ;; |
81 | *) |
82 | *) |
82 | N=/etc/init.d/prayer |
83 | N=/etc/init.d/prayer |
83 | # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 |
84 | # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 |