You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
387 B
21 lines
387 B
#!/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 $?
|
|
}
|