blob: 0ac2f6357913cbf31bd6d4b0d02f5ac8dd08749b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/sbin/runscript
depend() {
need net
use jabber-server
}
start() {
ebegin "Starting MUC Jabber Transport"
start-stop-daemon \
--background \
--start \
--chuid jabber:jabber \
--exec /usr/bin/mu-conference \
-- -c /etc/jabber/mu-conference.xml
eend $?
}
stop() {
ebegin "Stoping MUC Jabber Transport"
start-stop-daemon \
--stop \
--pidfile /var/run/jabber/mu-conference.pid
eend $?
}
|