itamae/templates/etc/init.d/god.erb in daddy-0.5.12 vs itamae/templates/etc/init.d/god.erb in daddy-0.5.13
- old
+ new
@@ -17,10 +17,12 @@
echo 'Starting god'
god -P $PID -c $CONFIG -l $LOG --log-level info
RETVAL=$?
;;
stop)
- god quit
+ if test -e $PID ; then
+ god quit
+ fi
RETVAL=$?
;;
restart)
god quit
echo 'Starting god'