Changeset 674
- Timestamp:
- 10/11/11 10:50:24 (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/builders/packing/debian/debian/crtmpserver.init
r390 r674 30 30 . /lib/lsb/init-functions 31 31 32 UID=$(getent passwd ${DAEMON_USER} | cut -d":" -f3) 33 UID_ARG=" --uid=$UID " 32 DAEMON_UID=$(getent passwd ${DAEMON_USER} | cut -d":" -f3) 33 [ -z ${DAEMON_UID} ] && (echo "User ${DAEMON_USER} not exists"; return 1) 34 DAEMON_UID_ARG=" --uid=${DAEMON_UID} " 34 35 35 36 do_start() … … 42 43 || return 1 43 44 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ 44 $DAEMON_ARGS $ UID_ARG $DAEMON_CONF \45 $DAEMON_ARGS $DAEMON_UID_ARG $DAEMON_CONF \ 45 46 || return 2 46 47 }
Note: See TracChangeset
for help on using the changeset viewer.
