working through channel manager config on a MultiTechConduit, most everything is going but got stuck with passing args to the pf-restart-command parameter. (consequently that command fails).
Command line testing (excluding all the other params for clarity’s sake):
lora-channel-manager ... --pf-restart-command "/etc/init.d/lora-packet-forwarder restart"
invoking packet-forwarder restart command args= cmd="/etc/init.d/lora-packet-forwarder"
update config error: invoke packet-forwarder restart error: execute command error: exit status 1
so it is catching the command ok - but nothing in args. I’m assuming there is either another environment value to set OR some syntax I’m not aware of to add the argument.
As a work around I’ve created a pf_restart_command.sh bash script which achieves the same thing. A bit nasty - but it works. I’d still like to know how to pass args to the command tho.