1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/testing/touchegg/touchegg.initd
2021-07-05 22:42:00 +00:00

25 lines
405 B
Text

#!/sbin/openrc-run
description="Touchegg daemon"
pidfile="/var/run/$RC_SVCNAME.pid"
command="/usr/bin/touchegg"
start() {
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --start \
--exec $command \
--pidfile $pidfile \
--make-pidfile \
--quiet \
--background \
-- \
--daemon
eend $?
}
stop() {
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--pidfile $pidfile
eend $?
}