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

depend() {
	before net
}

start() {
	ebegin "Starting nuauth"
	start-stop-daemon --start --quiet --exec /usr/sbin/nuauth -- -D ${NUAUTH_OPTIONS}
	eend $?
}

stop() {
	ebegin "Stopping nuauth"
	start-stop-daemon --stop --quiet --pidfile /var/run/nuauth/nuauth.pid
	eend $?
}