]> Frank Brehm's Git Trees - config/uhu1/etc.git/commitdiff
saving uncommitted changes in /etc prior to emerge run
authorroot <root@uhu1.uhu-banane.de>
Wed, 30 Dec 2015 12:55:23 +0000 (13:55 +0100)
committerroot <root@uhu1.uhu-banane.de>
Wed, 30 Dec 2015 12:55:23 +0000 (13:55 +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 $?
 }