I’ve noticed how systemctl doesn’t have the verbose output provided by lucee_ctl, which is why I generally still prefer the latter, not only for manual control, but also I have a cron job that checks the running status of Lucee every minute.
I now realize that with the new systemd support, I could update my bash script to get the running status as a boolean via:
systemctl is-active --quiet lucee_ctl
But the verbose output from the lucee_ctl script is still preferred for the manual start, stop, and restart options.
With that in mind, I see that the new service file from LDEV-5948 does not include:
SuccessExitStatus=143
In my October post about systemd and SELinux, my example service file has a comment with a link to a fascinating blog post by PJB:
I wonder if that could be related to the issue of systemd losing track of the Lucee service when using the lucee_ctl script directly?