Try to hide join/leave messages.
[doldaconnect.git] / contrib / gentoo-init.d-doldacond
CommitLineData
5d7b5d06 1#!/sbin/runscript
2
3opts="start stop restart reload"
4
5depend() {
6 need net
7}
8
9start() {
10 ebegin "Starting doldacond"
11 ulimit -c unlimited
12 start-stop-daemon -S -p /var/run/doldacond.pid -qx /usr/local/bin/doldacond -- -p /var/run/doldacond.pid
13 eend $?
14}
15
16stop() {
17 ebegin "Stopping doldacond"
18 start-stop-daemon -K -p /var/run/doldacond.pid -qx /usr/local/bin/doldacond
19 eend $?
20}
21
22reload() {
23 ebegin "Reloading doldacond"
24 start-stop-daemon -K -p /var/run/doldacond.pid -qx /usr/local/bin/doldacond -s HUP
25 eend $?
26}