Skip to content

Commit

Permalink
* Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcobra1973 committed Sep 1, 2014
1 parent dd1b9d5 commit e3976d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/init.d/debian/vpoller-proxy
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fi

do_start() {
log_daemon_msg "Starting $DESC" "$NAME"
start-stop-daemon -c ${USER}:${GROUP} --oknodo --start --pidfile $PID \
start-stop-daemon -u ${USER} -g ${GROUP} --oknodo --start --pidfile $PID \
--exec $DAEMON -- -d start >/dev/null 2>&1
case "$?" in
0) log_end_msg 0 ;;
Expand Down
4 changes: 2 additions & 2 deletions contrib/init.d/debian/vpoller-worker
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SCRIPTNAME=/etc/init.d/"$NAME"
MGMT_INTERFACE="tcp://localhost:10000"
PID_DIR=/var/run/vpoller
LOG_DIR=/var/log/vpoller
PID=${PID_DIR}/vpoller-proxy.pid
PID=${PID_DIR}/vpoller-worker.pid

### Create needed directories and set right permissions
if [ ! -d ${PID_DIR} ]; then
Expand All @@ -43,7 +43,7 @@ fi

do_start() {
log_daemon_msg "Starting $DESC" "$NAME"
start-stop-daemon -c ${USER}:${GROUP} --oknodo --start --pidfile $PID \
start-stop-daemon -u ${USER} -g ${GROUP} --oknodo --start --pidfile $PID \
--exec $DAEMON -- -d start >/dev/null 2>&1
case "$?" in
0) log_end_msg 0 ;;
Expand Down

0 comments on commit e3976d8

Please sign in to comment.