mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-03-26 04:18:46 +00:00
fix syslog reload
This commit is contained in:
@@ -7,7 +7,9 @@
|
|||||||
delaycompress
|
delaycompress
|
||||||
compress
|
compress
|
||||||
postrotate
|
postrotate
|
||||||
sv reload syslog-ng > /dev/null
|
if [ -f /var/run/syslog-ng.pid ]; then
|
||||||
|
kill -HUP `cat /var/run/syslog-ng.pid`
|
||||||
|
fi
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -32,6 +34,8 @@
|
|||||||
delaycompress
|
delaycompress
|
||||||
sharedscripts
|
sharedscripts
|
||||||
postrotate
|
postrotate
|
||||||
sv reload syslog-ng > /dev/null
|
if [ -f /var/run/syslog-ng.pid ]; then
|
||||||
|
kill -HUP `cat /var/run/syslog-ng.pid`
|
||||||
|
fi
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user