On 2012-07-19 16:30, Miroslav Suchý wrote:
I done that some weeks ago, while traveling by train.
I did not have time to test it thoroughly, and I will probably have
no time for that in future. So I'm posting it here.
Decide yourself, if you want to merge it, or leave it for somebody
else who will work on systemd integration.
I just looked at this patch and saw this:
+ %if 0%{?fedora} || 0%{?rhel} > 5
+ /bin/systemctl stop rhnsd >/dev/null 2>&1
+ %else
+ service rhnsd stop >/dev/null 2>&1
+ %endif
According to me this means: if it is fedora or the redhat major
version>5 then use 'systemctl' to stop the service, otherwise use
'service'.
But in RHEL6, "systemctl" is not present as a command, "service" should
still be used (systemd is not present in rhel6).
Or am I misreading this?
Franky
_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel