Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/mrueg:master commit in: app-misc/ckb/files/
Date: Thu, 25 Jun 2015 16:31:54
Message-Id: 1435249894.ebac31a4e46acc92004f0009f8fecb531b791c43.mrueg@gentoo
1 commit: ebac31a4e46acc92004f0009f8fecb531b791c43
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 25 16:31:34 2015 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 25 16:31:34 2015 +0000
6 URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=ebac31a4
7
8 [app-misc/ckb] Fix init file.
9
10 Package-Manager: portage-2.2.20
11
12 app-misc/ckb/files/ckb.initd | 6 ++++--
13 1 file changed, 4 insertions(+), 2 deletions(-)
14
15 diff --git a/app-misc/ckb/files/ckb.initd b/app-misc/ckb/files/ckb.initd
16 index 93b65c8..856d37c 100755
17 --- a/app-misc/ckb/files/ckb.initd
18 +++ b/app-misc/ckb/files/ckb.initd
19 @@ -5,11 +5,13 @@
20 extra_started_commands="reload"
21 command="/usr/bin/ckb-daemon"
22 description="Controller for Corsair Keyboard Driver"
23 -pidfile="/var/run/ckb.pid"
24 +pidfile="/run/ckb.pid"
25 +logfile="/var/run/ckb.log"
26
27 start() {
28 ebegin "Starting Corsair Keyboard Driver"
29 - start-stop-daemon --start --exec "${command}" --pidfile "${pidfile}"
30 + start-stop-daemon --start --exec "${command}" --pidfile "${pidfile}" --background \
31 + --stdout "${logfile}" --stderr "${logfile}"
32 eend $?
33 }