1
0
mirror of /repos/baseimage-docker.git synced 2025-12-30 08:01:31 +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
No known key found for this signature in database
GPG Key ID: 2AF96EB85EF4DA0D

View File

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