1
0
mirror of /repos/baseimage-docker.git synced 2026-02-27 17:41:59 +01:00

The syslog-ng script should restore /dev/xconsole permissions because that's what the official init script does

This commit is contained in:
Hongli Lai (Phusion)
2014-05-12 16:43:55 +02:00
parent 7bde5d9993
commit 612b1504af

View File

@@ -24,6 +24,8 @@ esac
if [ ! -e /dev/xconsole ] if [ ! -e /dev/xconsole ]
then then
mknod -m 640 /dev/xconsole p mknod -m 640 /dev/xconsole p
chown root:adm
[ -x /sbin/restorecon ] && /sbin/restorecon $XCONSOLE
fi fi
exec syslog-ng -F -p /var/run/syslog-ng.pid $SYSLOGNG_OPTS exec syslog-ng -F -p /var/run/syslog-ng.pid $SYSLOGNG_OPTS