mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
25 lines
405 B
Text
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 $?
|
|
}
|