blob: e58a77926d1b781da7f85941a7d9cd24314ba397 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/sbin/runscript
#
daemon=/usr/bin/openxcap
pidfile=/var/run/openxcap/openxcap.pid"
depend() {
need net
after firewall
}
start() {
ebegin "Starting OpenXCAP Presence Server"
start-stop-daemon --start --quiet --pidfile $pidfile --exec $daemon
eend $?
}
stop() {
ebegin "Stopping OpenXCAP Presence Server"
start-stop-daemon --stop --quiet --signal 15 --pidfile $pidfile
eend $?
}
|