17 lines
266 B
Text
17 lines
266 B
Text
|
#!/sbin/openrc-run
|
||
|
depend() {
|
||
|
need net
|
||
|
}
|
||
|
|
||
|
start() {
|
||
|
ebegin "Starting waked"
|
||
|
start-stop-daemon --background --start --exec /usr/bin/waked
|
||
|
eend $?
|
||
|
}
|
||
|
|
||
|
stop() {
|
||
|
ebegin "Stopping waked"
|
||
|
start-stop-daemon --stop --exec /usr/bin/waked
|
||
|
eend $?
|
||
|
}
|