syslog-ng -s (configfile) provide with a configuration check.
Created attachment 36085 [details, diff] syslog-ng.rc.1.13.patch Added the syslog-ng -s check, both with reload and start. I've also added SYSLOGNG_CONF instead of /etc/syslog-ng/syslog-ng.conf everywhere.
Created attachment 36109 [details, diff] syslog-ng.init.1.13.patch Learned the hard way that using variables messes with depcache. This is a much smaller patch.
Created attachment 36110 [details, diff] syslog-ng.init.1.13.patch former patch was reversed.
So.... Explain to me what this patch actually buys us over the current behavior please?
suppose you misconfigure syslog-ng and try to restart it - it will stop but won't start. Also, if it fails to start, it tells you why.
Added to CVS. No rev bump or anything since this is pretty minor. Thanks for the bug report and patch.