Look at your flags. I don't know anything about syslog-ng, but this looks wrong to me:
Code:
syslog_ng_flags=
syslog_ng_flags="-p /var/run/syslog-ng.pid" /usr/local/sbin/syslog-ng ${syslog_ng_flags}
You are setting variables.
Not issuing shell commands. There is no apparent reason to have the first line, and no apparent reason to have anything beyond the closing quote of the second line.
Quote:
I see that there is an error that scroll by very quickly while system reboots. I try to see it with dmesg but it's not there.
|
You may find the message in /var/log -- look in /var/log/messages and /var/log/daemon.