Re: [systemd-devel] Need help with getting messages into /var/log/messages

2012-08-05 Thread Paul Richards
Great, thanks for the info! On Thu, Aug 2, 2012 at 5:03 AM, Mathieu Bridon boche...@fedoraproject.org wrote: On Wed, 2012-08-01 at 23:57 -0400, Paul Richards wrote: 1. My program just runs once on startup and then exits. Do I need to put anything in the service file for that? Use

Re: [systemd-devel] Need help with getting messages into /var/log/messages

2012-08-05 Thread Paul Richards
I'm trying to make this into a rpm package so that I can continue to tell my users to look into /var/log/messages for logging results of my program on bootup. I tried the: After=syslog.target in the service file but that had no effect. Is there a way tell systemd to pass the message to the

Re: [systemd-devel] Need help with getting messages into /var/log/messages

2012-08-05 Thread Kay Sievers
On Sun, Aug 5, 2012 at 4:29 AM, Paul Richards paulrichards...@gmail.com wrote: I'm trying to make this into a rpm package so that I can continue to tell my users to look into /var/log/messages for logging results of my program on bootup. I tried the: After=syslog.target That's not needed,

Re: [systemd-devel] Need help with getting messages into /var/log/messages

2012-08-02 Thread Mathieu Bridon
On Wed, 2012-08-01 at 23:57 -0400, Paul Richards wrote: 1. My program just runs once on startup and then exits. Do I need to put anything in the service file for that? Use Type=oneshot in the Service section. Otherwise, by default the type is 'simple', and as such systemd will consider your

Re: [systemd-devel] Need help with getting messages into /var/log/messages

2012-08-02 Thread David Strauss
On Wed, Aug 1, 2012 at 8:57 PM, Paul Richards paulrichards...@gmail.com wrote: 2. My main question: The logging isn't making it into /var/log/messages or into dmesg. I can only see it with journalctl. Is there anywhere to fix that? My target system is Fedora 17 vanilla that runs rsyslog. It's

Re: [systemd-devel] Need help with getting messages into /var/log/messages

2012-08-02 Thread Kay Sievers
On Thu, Aug 2, 2012 at 12:43 PM, David Strauss da...@davidstrauss.net wrote: On Wed, Aug 1, 2012 at 8:57 PM, Paul Richards paulrichards...@gmail.com wrote: 2. My main question: The logging isn't making it into /var/log/messages or into dmesg. *Into* dmesg? We do not forward stuff to the