diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-01 13:20:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-01 13:20:21 +0000 |
commit | 91c3cc9bc03b84b2224c9bc2891d14eb85e6ed8c (patch) | |
tree | 905083e93f1603aff0e5cc1f256ecfa711990d31 | |
parent | 0bd0949519d96db5a96bbc38a923da29510398df (diff) | |
download | abuild-91c3cc9bc03b84b2224c9bc2891d14eb85e6ed8c.tar.gz abuild-91c3cc9bc03b84b2224c9bc2891d14eb85e6ed8c.tar.bz2 abuild-91c3cc9bc03b84b2224c9bc2891d14eb85e6ed8c.tar.xz abuild-91c3cc9bc03b84b2224c9bc2891d14eb85e6ed8c.zip |
sample.* adjust more samples a bit
-rw-r--r-- | sample.confd | 2 | ||||
-rw-r--r-- | sample.initd | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sample.confd b/sample.confd index 0abb80c..eb0eecf 100644 --- a/sample.confd +++ b/sample.confd @@ -5,5 +5,3 @@ # OPTS="" -USER="nobody" -GROUP="nobody" diff --git a/sample.initd b/sample.initd index 980c53e..42d03e0 100644 --- a/sample.initd +++ b/sample.initd @@ -11,9 +11,9 @@ depend() { start() { ebegin "Starting ${NAME}" - start-stop-daemon --start --quiet --background \ - --make-pidfile --pidfile /var/run/${NAME}.pid \ - --chuid ${USER}:${GROUP} \ + start-stop-daemon --start --quiet \ + --pidfile /var/run/${NAME}.pid \ + --chuid ${DAEMON_USER}:${DAEMON_GROUP} \ --exec ${DAEMON} -- ${OPTS} eend $? } |