rsyslog script

Grail Dane grail69 at hotmail.com
Tue Mar 1 03:23:15 UTC 2011


I seem to be stuck with this one and not sure if possible to do what I am trying?
I copied the rsyslog.conf from my Ubuntu machine and changed it to the below:
< ---------- start -----------------># rsyslog - system logging daemon## rsyslog is an enhanced multi-threaded replacement for the traditional# syslog daemon, logging messages from applications
description	"system logging daemon"
start on filesystemstop on runlevel [06]
expect forkrespawn
pre-start script    COMPAT=$(/sbin/rsyslogd -v | awk 'NR == 1{print substr($2, 1, 1)}')end script
exec rsyslogd -c$COMPAT< ---------- end ----------------->
This seems to start and assign a PID, it then terminates and respawns but without a PID and consequently is not really running.
So i guess my question is: Am I not able to use variables in this way or have I done it the wrong way?If yes to the wrong way, would someone please educate me?
Also I am guessing this is not really a devel question ... is there a support list?
Cheersgrail 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20110301/a9cc49ac/attachment.html>


More information about the upstart-devel mailing list