quick fix to avoid exit 1

This commit is contained in:
Gregory Colpart 2017-09-28 11:10:25 +02:00
parent 95c34c5d88
commit b64073dd39
1 changed files with 4 additions and 1 deletions

View File

@ -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