Forum: CFEngine Help
Subject: Re: multiple command sequences as a variable
Author: toddnni
Link to topic: https://cfengine.com/forum/read.php?3,24113,24116#msg-24116

Hi,

shell is not enabled by default in command promises. Use contain => in_shell, 
which enables useshell => "true". Then something like "/usr/bin/stopsrc -s sshd 
&& /usr/bin/startsrc -s sshd" should work.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to