Update thd

This commit is contained in:
Jonny Ervine
2015-06-10 22:52:47 +08:00
parent c350e87672
commit 83ebcbc029
+2 -2
View File
@@ -29,8 +29,8 @@ fi
case "${1}" in case "${1}" in
start) start)
echo -n "Starting Temperature and Humidity Monitoring Daemon: " echo -n "Starting Temperature and Humidity Monitoring Daemon: "
sleep 10 # We need to wait until mysqld has started - this is a horrible workaround for now
start-stop-daemon --start --background -m --oknodo --pidfile /var/run/th.pid --startas /bin/bash -- -c "exec ${DAEMON} >> ${LOGFILE}" start-stop-daemon --start --background -m --oknodo --pidfile /var/run/th.pid --startas /bin/bash -- -c "exec ${DAEMON} >> ${LOGFILE} 2>&1"
echo "${NAME}." echo "${NAME}."
;; ;;