Restart from remote via ssh command

Hey all,

Is there a recommended way to restart FreePBX from remote via an ssh command?

ssh 127.0.0.1 'nohup fwconsole -ni restart 2>&1'

This sort-of works, but appears to hang. I’m guessing it’s hanging when the fw is reloaded. The nohup and stderr redirection don’t seem to make a difference either way.

Thanks!

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.