]> Frank Brehm's Git Trees - config/helga/etc.git/commitdiff
saving uncommitted changes in /etc prior to emerge run
authorroot <root@helga.brehm-online.com>
Mon, 18 Jan 2016 16:36:23 +0000 (17:36 +0100)
committerroot <root@helga.brehm-online.com>
Mon, 18 Jan 2016 16:36:23 +0000 (17:36 +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 $?
 }