[Nix-dev] Upstart 0.6
Eelco Dolstra
e.dolstra at tudelft.nl
Thu Nov 19 16:12:02 CET 2009
Hi,
Marc Weber wrote:
>> There is one issue with Upstart 0.6: the stdout/stderr of jobs no longer goes to
>> /var/log/boot, but to the console. This isn't very elegant, but I don't see an
>> easy solution. (I guess we can stick an "exec > /var/log/boot 2>&1" in the
>> pre-start script, but you wouldn't get timestamps in the log.)
> We could run it this way
>
> addtimestamps $THE_SCRIPT or such.
Well, we can obviously pipe the job through "logger" to send it to syslog. But
this will create a logger process for every job.
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list