Commit af7f82b4 authored by anarcat's avatar anarcat

silence the standard output of the daemon

it's in the Drupal watchdog anyways and it was cluttering the console
parent 8953de01
...@@ -20,7 +20,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin ...@@ -20,7 +20,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Aegir queue daemon" # Introduce a short description here DESC="Aegir queue daemon" # Introduce a short description here
NAME="hosting-queued" # Introduce the short server's name here NAME="hosting-queued" # Introduce the short server's name here
DAEMON=/usr/local/bin/drush # Introduce the server's location here DAEMON=/usr/local/bin/drush # Introduce the server's location here
DAEMON_ARGS="@hostmaster $NAME" # Arguments to run the daemon with DAEMON_ARGS="--quiet @hostmaster $NAME" # Arguments to run the daemon with
USER="aegir" USER="aegir"
PIDFILE=/var/run/$NAME.pid PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME SCRIPTNAME=/etc/init.d/$NAME
...@@ -42,7 +42,7 @@ NICE=10 ...@@ -42,7 +42,7 @@ NICE=10
# #
do_start() do_start()
{ {
su - $USER $DAEMON $DAEMON_ARGS & su - $USER -- $DAEMON $DAEMON_ARGS &
ret=$? ret=$?
echo $! > $PIDFILE echo $! > $PIDFILE
return $ret return $ret
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment