diff options
Diffstat (limited to 'app-misc/ckb/files/ckb.initd')
-rw-r--r-- | app-misc/ckb/files/ckb.initd | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/app-misc/ckb/files/ckb.initd b/app-misc/ckb/files/ckb.initd deleted file mode 100644 index 76af0fd8438b..000000000000 --- a/app-misc/ckb/files/ckb.initd +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/openrc-run -## Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_started_commands="reload" -command="/usr/bin/ckb-daemon" -description="Controller for Corsair Keyboard Driver" -pidfile="/run/ckb.pid" -logfile="/var/run/ckb.log" - -start() { - ebegin "Starting Corsair Keyboard Driver" - start-stop-daemon --start --exec "${command}" --pidfile "${pidfile}" --background \ - --stdout "${logfile}" --stderr "${logfile}" - eend $? -} - -stop() { - ebegin "Stopping Corsair Keyboard Driver" - start-stop-daemon --stop --exec "${command}" --pidfile "${pidfile}" - eend $? - -} - -reload() { - stop - sleep 3 - start -} |