Re: [systemd-devel] [PATCH] Return error code 3 with systemctl status after killall LSB server

2011-07-04 Thread Michal Schmidt
On Fri, 1 Jul 2011 23:17:57 +0200 Lennart Poettering wrote: The problem here is that apache is a SysV init script, and for those it is not really clear whether it is a problem that no process is running anymore or if that's just the normal case. This is true in general, but sometimes we do

[systemd-devel] [PATCH] Return error code 3 with systemctl status after killall LSB server

2011-07-01 Thread Steven Dake
This patch is probably not correct, but not having a clear understanding of the systemd states, I'm not sure how to properly fix the problem. The test case is as follows: service httpd start killall httpd service httpd status echo $? (0 printed, 3 should be printed according to LSB) Then

Re: [systemd-devel] [PATCH] Return error code 3 with systemctl status after killall LSB server

2011-07-01 Thread Lennart Poettering
On Fri, 01.07.11 00:00, Steven Dake (sd...@redhat.com) wrote: This patch is probably not correct, but not having a clear understanding of the systemd states, I'm not sure how to properly fix the problem. The test case is as follows: service httpd start killall httpd service httpd status