@mercbot7 wrote:
This may sound silly. I am trying to get ddclient with OpenDNS to work. I can get it to work on my laptop and yet the cmd_arguments when trying to run it as a rockon are giving me frustration. This is the bit for the cmd_aguments:
"cmd_arguments": [ [ "bash", " -c \"echo -e \\\"protocol=dyndns2\\nssl=yes\\ndaemon=300\\nsyslog=yes\\npid=/var/run/ddclient/ddclient.pid\\nuse=web, web=ipinfo.io/ip\\nserver=updates.opendns.com\\nlogin='\\${ODNSUSR}'\\npassword='\\${ODNSPSW}'\\n\\${ODNSNETLABEL}\\\" > /config/ddclient.conf\"" ] ]
excusing the potential escaping issue this is what is output in the container in rockstor:
bash: -c "echo -e \"protocol=dyndns2\nssl=yes\ndaemon=300\nsyslog=yes\npid=/var/run/ddclient/ddclient.pid\nuse=web, web=ipinfo.io/ip\nserver=updates.opendns.com\nlogin='\${ODNSUSR}'\npassword='\${ODNSPSW}'\n\${ODNSNETLABEL}\" > /config/ddclient.conf": No such file or directory [cmd] bash exited 127
I would love to be able to figure this out. thanks for any help.
Posts: 1
Participants: 1