Forum: CFEngine Help Subject: Re: Why it's necessary to restart defined service one time. Author: mikesphar Link to topic: https://cfengine.com/forum/read.php?3,27210,27212#msg-27212
juriskrumins Wrote: > It's not a problem for sshd in this case. But for > custom in-house services running /sbin/service > start one more time, while is > running can lead to a problem. I believe that is a violation of the Linux Standard Base specifications. "Init scripts shall ensure that they will behave sensibly if invoked with start when the service is already running" and "the following situations are also to be considered successful: running start on a service already running" http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine