]> Frank Brehm's Git Trees - config/bruni/etc.git/commitdiff
saving uncommitted changes in /etc prior to emerge run
authorFrank Brehm <frank@brehm-online.com>
Wed, 30 Dec 2015 16:57:24 +0000 (17:57 +0100)
committerFrank Brehm <frank@brehm-online.com>
Wed, 30 Dec 2015 16:57:24 +0000 (17:57 +0100)
init.d/ulogd

index 47a0674ce3344e685fc3d1a8739b17504a8f9805..c994507f99358597094b1435f783ac15232ba224 100755 (executable)
@@ -7,6 +7,7 @@ extra_started_commands="reload reopen"
 
 : ${ULOGD_BINARY:=/usr/sbin/ulogd}
 : ${ULOGD_PIDFILE:=/run/${SVCNAME}.pid}
+: ${ULOGD_WAIT:=200}
 : ${ULOGD_OPTS:=--daemon --uid ulogd --pidfile ${ULOGD_PIDFILE}}
 
 depend() {
@@ -17,7 +18,7 @@ depend() {
 start() {
        ebegin "Starting ${SVCNAME}"
        start-stop-daemon --start \
-               --exec ${ULOGD_BINARY} --pidfile ${ULOGD_PIDFILE} \
+               --exec ${ULOGD_BINARY} --pidfile ${ULOGD_PIDFILE} --wait ${ULOGD_WAIT} \
                -- ${ULOGD_OPTS}
        eend $?
 }