I have a shell script that looks for new lets-encrypt certs pushed from my server that does LE for the rest of the network and copies from pem_filename.new to just the .pem filenames they need to be in /ssl.
If I run the script from the SSH add-on from a prompt manually, that works.
but I’ve tried adding the shell_command to both configuration.yaml and a shell_commands.yaml file in /config.
When you say “run in manually”, are you going into the Actions (or Service Calls) tab of Developer Tools? If so, when You click on “Perform Action” (or whatever it was in older updates), does the button turn green with a tick? And then you’re getting no Response result? Maybe look in the logs?
You shouldn’t have to call /bin/bash first, you should have that already in the first line of your script:
#!/bin/bash
But even that isn’t totally needed in most cases today, but it covers all your bases just in case. If you did that then your shell command could simply be: