Restart rsyslog once installed

Seems that a mere reload doesn't work.
This commit is contained in:
Alessio Treglia
2015-06-27 10:20:07 +01:00
parent fb5d3a06f0
commit 16e4001677

View File

@@ -15,7 +15,7 @@ if [[ ! -f "$DOKKU_RSYSLOG_FILTER" ]]; then
cat >"$DOKKU_RSYSLOG_FILTER" <<EOF
:syslogtag, contains, "dokku" $DOKKU_EVENTS_LOGFILE
EOF
service rsyslog reload
service rsyslog restart
fi
[[ "$DOKKU_EVENTS" ]] && dokku_log_pluginhook_call "$(basename $0)" "$@"