The correct way to run syslog-ng as a non root user

cat /etc/default/syslog-ng@default CONFIG_FILE=/etc/syslog-ng/syslog-ng.conf PERSIST_FILE=/var/lib/syslog-ng/syslog-ng.persist CONTROL_FILE=/var/lib/syslog-ng/syslog-ng.ctl PID_FILE=/run/syslog-ng.pid OTHER_OPTIONS="-u syslog -g syslog" cat /usr/local/bin/syslog-pid #!/usr/bin/bash if [ ! -e /run/syslog-ng.pid ] then touch /run/syslog-ng.pid fi chown syslog… Read more