I have a script that starts a game server on my site. When I ssh into the server and add it manually via crontab -e, the server starts fine. When I comment out that file and add it via the ISPConfig panel, I can't get it to start no matter what I try.
I have it added to the ISPConfig panel as such:
I noticed that it appears to be attempting to start via the syslog as noted by the following line:
Jul 16 17:56:01 alpha CRON: (web11) CMD (/srcds_l/orangebox/egDodServerStart.sh^I#forum.mysitehere.com)
I figured that there might be an issue with the "^I#forum.mysitehere.com" might be messing things up so I added a space after my command, but it is still failing.
The log is also showing this in relation to that particular user:
Jul 16 18:21:01 alpha cron: (*system*ispc_chrooted_web11) RELOAD (/etc/cron.d/ispc_chrooted_web11)
So I checked out that file and it says
50 * * * * web11 /srcds_l/orangebox/egDodServerStart.sh #forum.mysitehere.com
This is funny to me though. Jailkit isn't even installed on the system. When I reinstalled ISPCONFIG from scratch on a new server I didn't even put jailkit back. However, for some reason I still have
lrwxrwxrwx 1 root root 24 May 3 15:07 jk_init.ini -> /etc/jailkit/jk_init.ini
lrwxrwxrwx 1 root root 27 May 3 15:07 jk_socketd.ini -> /etc/jailkit/jk_socketd.ini
I can only assume that these links are created by ISPConfig in some way.
So why is the shell setting to jk_chrootsh?
I'm at a loss on what to troubleshoot next. Any help would be greatly appreciated.