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 ``` You can view, comment on, or merge this pull request online at: https://github.com/xrootd/xrootd/pull/367 -- Commit Summary -- * Stopping the service if already stop should be succesfull now -- File Changes -- M packaging/rhel/xrootd.functions (11) -- Patch Links -- https://github.com/xrootd/xrootd/pull/367.patch https://github.com/xrootd/xrootd/pull/367.diff --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/367 ######################################################################## 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