danb35 / deploy-freenas

Python script to automate deploying TLS certificates to FreeNAS servers
GNU General Public License v3.0
203 stars 56 forks source link

--reloadcmd "/path/to/deploy_freenas.py" no longer works #59

Closed adorobis closed 1 year ago

adorobis commented 2 years ago

For some strange reason --reloadcmd "/path/to/deploy_freenas.py" does not work anymore and I had to change the command to python3 /path/to/deploy_freenas.py. I think this is after upgrading to TrueNAS 13.

Tuckie commented 1 year ago

Did you still have execute permissions on deploy_freenas.py?

You may need to chmod +x deploy_freenas.py

adorobis commented 1 year ago

It was a different problem. As I was updating the deploy_freenas.py I have probably made an empty file in Windows notepad++ and it was saved with Windows EOL (CR LF). After converting it to Unix (LF) it works again.