summaryrefslogtreecommitdiff
blob: f027e94483215785b8a29e68701cfb5ba2510626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/sbin/runscript

start() {
	ebegin "Starting Regina stack"
	start-stop-daemon --start --pidfile /var/run/rxstack.pid \
		--exec /usr/bin/rxstack -- -d
	eend $?
}

stop() {
	ebegin "Stopping Regina stack"
	kill -TERM `pidof /usr/bin/rxstack`
	eend $?
}