JSS auto start at boot Redhat 6

dmw3
Contributor III

We are migrating our JSS to Redhat 6, is there a script or cron job that will start the JSS on reboot of the server? I can manually restart by restating Tomcat via the JSSDatabaseUtility but would like to have the JSS started automatically at boot.

1 ACCEPTED SOLUTION

vadanx
Contributor

chkconfig jamf.tomcat7 on (that will start your jamf.tomcat7 daemon on all operational runlevels)

chkconfig (that will list all daemons and the runlevels they're on or off)

Andrew

P.S. either run as root or sudo the commands

View solution in original post

4 REPLIES 4

Kumarasinghe
Valued Contributor

https://jamfnation.jamfsoftware.com/article.html?id=117

We have installed v8.62 using the JSS Installer on RHEL6 and it automatically starts upon server reboot.

dmw3
Contributor III

Thanks, I can already manually start Tomcat, what I am hoping for is a way to auto start Tomcat if the server gets rebooted.

vadanx
Contributor

chkconfig jamf.tomcat7 on (that will start your jamf.tomcat7 daemon on all operational runlevels)

chkconfig (that will list all daemons and the runlevels they're on or off)

Andrew

P.S. either run as root or sudo the commands

dmw3
Contributor III

Thanks Andrew, that was the answer I was looking for.

David