mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-15 17:49:23 +00:00
Merge pull request #702 from justincormack/syslog
Syslog support for docker logs
This commit is contained in:
@@ -111,11 +111,9 @@ start()
|
||||
|
||||
start-stop-daemon --start --quiet \
|
||||
--background \
|
||||
--exec ${command} \
|
||||
--startas /bin/sh \
|
||||
--pidfile ${pidfile} \
|
||||
--stderr "${DOCKER_LOGFILE}" \
|
||||
--stdout "${DOCKER_LOGFILE}" \
|
||||
-- --pidfile=${pidfile} ${DOCKER_OPTS}
|
||||
-- -c "exec ${command} --pidfile=${pidfile} ${DOCKER_OPTS} 2>&1 | logger -p local0.info"
|
||||
|
||||
ewaitfile 20 ${pidfile} /var/run/docker.sock /var/run/docker/libcontainerd/docker-containerd.sock
|
||||
|
||||
|
||||
Reference in New Issue
Block a user