I very rarely have to restart lucee, but it does happen
I am trying to setup a script so I can remotely restart it over ssh if I am at home.
I tested this with apache and it works with starting and stopping HTTPD , but I can’t seem to get Lucee to start. I can stop it, but I can’t restart or start it remotely.
ssh email@example.com 'sudo service lucee_ctl restart' ssh firstname.lastname@example.org 'sudo /opt/lucee/lucee_ctl restart'
Both fail even though it says they worked.
Oddly this works
ssh email@example.com 'sudo service lucee_ctl stop' ssh firstname.lastname@example.org 'sudo service /opt/lucee/lucee_ctl stop'
It seems there is something in the startup script that keeps it from starting the server this way.
If I ssh email@example.com then run sudo service lucee_ctl restart it always works then I can exit.
I am on Amazon Linux. Any help would be appreciated I am probably just missing something simple.