commit: ebac31a4e46acc92004f0009f8fecb531b791c43
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 25 16:31:34 2015 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Jun 25 16:31:34 2015 +0000
URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=ebac31a4
[app-misc/ckb] Fix init file.
Package-Manager: portage-2.2.20
app-misc/ckb/files/ckb.initd | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/app-misc/ckb/files/ckb.initd b/app-misc/ckb/files/ckb.initd
index 93b65c8..856d37c 100755
--- a/app-misc/ckb/files/ckb.initd
+++ b/app-misc/ckb/files/ckb.initd
@@ -5,11 +5,13 @@
extra_started_commands="reload"
command="/usr/bin/ckb-daemon"
description="Controller for Corsair Keyboard Driver"
-pidfile="/var/run/ckb.pid"
+pidfile="/run/ckb.pid"
+logfile="/var/run/ckb.log"
start() {
ebegin "Starting Corsair Keyboard Driver"
- start-stop-daemon --start --exec "${command}" --pidfile "${pidfile}"
+ start-stop-daemon --start --exec "${command}" --pidfile "${pidfile}"
--background \
+ --stdout "${logfile}" --stderr "${logfile}"
eend $?
}