According to Fedora packaging guidelines stopping an already stopped service should be considered succesful see:
http://fedoraproject.org/wiki/EPEL:SysVInitScript#Exit_Codes_for_non-Status_Actions
Now an already stopped service returns 0:
[1448] root@uclhctest /etc/init.d# service xrootd stop
Shutting down xrootd (xrootd, rdr): xrootd-rdr not running
Shutting down xrootd (xrootd, srv): xrootd-srv not running
Shutting down xrootd (xrootd, atlas_proxy): xrootd-atlas_proxy not running
Shutting down xrootd (xrootd, cms_proxy): xrootd-cms_proxy not running
[1448] root@uclhctest /etc/init.d# echo $?
0
https://github.com/xrootd/xrootd/pull/367
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1