blob: fbc185c60018d96b4ae6bf4768897543d65a260f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/sbin/runscript
depend() {
need net
}
start() {
ebegin "Starting londonlaw server"
start-stop-daemon --start --pidfile /var/run/london-server.pid \
--user GAMES_USER_DED --background --stdout GAMES_LOGDIR/PN.log \
--stderr GAMES_LOGDIR/PN.log --make-pidfile \
--exec GAMES_BINDIR/london-server -- -p $LONDONLAW_PORT
eend $?
}
stop() {
ebegin "Stopping londonlaw server"
start-stop-daemon --stop --pidfile /var/run/london-server.pid \
--exec GAMES_BINDIR/london-server
eend $?
}
|