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.
16 lines
407 B
16 lines
407 B
#!/sbin/openrc-run
|
|
|
|
start() {
|
|
ebegin "Starting up wmacpimond daemon"
|
|
touch /var/tmp/wmacpimon.prc
|
|
start-stop-daemon --start --quiet --exec /usr/bin/wmacpimond -- /var/tmp/wmacpimon.prc >/dev/null
|
|
eend $? "Failed to start wmacpimond"
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Shutting down wmacpimond daemon"
|
|
killall wmacpimonmd &>/dev/null
|
|
rm /var/tmp/wmacpimon.prc &>/dev/null
|
|
eend $? "Failed to stop wmacpimond"
|
|
}
|