blob: 068acf776173f823da4199b7d532537579c8da04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/openrc-run
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
need net
}
start() {
ebegin "Starting sud"
start-stop-daemon --start --quiet --pidfile /var/run/sud.pid \
--exec /usr/sbin/sud
eend $?
}
stop() {
ebegin "Stopping sud"
start-stop-daemon --stop --quiet --pidfile /var/run/sud.pid
eend $?
}
|