mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-11-20 18:01:18 +00:00
Start syslog-ng before runit, and stop after runit.
When syslog-ng is managed as an runit service, application logs may be lost during shutdown, when the syslog-ng service stops before the app exits. This change uses the my_init.d directory to manage syslog-ng at a lower runlevel than runit.
This commit is contained in:
1 parent
b57f08c71f
commit
a6bf447f9e
4 files changed
+15
-34
No files matched your search
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
/etc/init.d/syslog-ng stop
|
||||
Reference in new issue
Block a user