quick fix to avoid exit 1
This commit is contained in:
parent
95c34c5d88
commit
b64073dd39
|
@ -30,8 +30,11 @@ for log in production.log delayed_job.log development.log test.log; do
|
|||
done
|
||||
done
|
||||
|
||||
if /etc/init.d/apache2 status > /dev/null ; then \
|
||||
test -x /usr/sbin/apache2ctl && if /etc/init.d/apache2 status > /dev/null ; then \
|
||||
/etc/init.d/apache2 reload > /dev/null; \
|
||||
fi;
|
||||
|
||||
test -x /usr/sbin/nginx && invoke-rc.d nginx rotate >/dev/null 2>&1
|
||||
|
||||
# we want exit 0
|
||||
true
|
||||
|
|
Loading…
Reference in New Issue