1
0
mirror of https://github.com/phusion/baseimage-docker.git synced 2026-03-26 12:29:07 +00:00
Files
baseimage-docker/image/services/syslog-ng/syslog-ng.shutdown
Ryan Sundberg a6bf447f9e 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.
2017-07-01 15:08:08 -07:00

4 lines
38 B
Bash
Executable File

#!/bin/sh
/etc/init.d/syslog-ng stop