Restart rsyslog once installed
Seems that a mere reload doesn't work.
This commit is contained in:
1 parent
fb5d3a06f0
commit
16e4001677
1 file changed
+1
-1
@@ -15,7 +15,7 @@ if [[ ! -f "$DOKKU_RSYSLOG_FILTER" ]]; then
|
|||||||
cat >"$DOKKU_RSYSLOG_FILTER" <<EOF
|
cat >"$DOKKU_RSYSLOG_FILTER" <<EOF
|
||||||
:syslogtag, contains, "dokku" $DOKKU_EVENTS_LOGFILE
|
:syslogtag, contains, "dokku" $DOKKU_EVENTS_LOGFILE
|
||||||
EOF
|
EOF
|
||||||
service rsyslog reload
|
service rsyslog restart
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[[ "$DOKKU_EVENTS" ]] && dokku_log_pluginhook_call "$(basename $0)" "$@"
|
[[ "$DOKKU_EVENTS" ]] && dokku_log_pluginhook_call "$(basename $0)" "$@"
|
||||||
|
|||||||
Reference in new issue
Block a user