Title: Running the &JON; Server as a Service Describe the issue: - need to change the file extension to .sh Need to add chmod +x /etc/init.d/jboss-on.sh [root@server rhq-agent] # sudo chkconfig --add /etc/init.d/jboss-on.sh Enable the agent service to run at boot time and have it stop gracefully at when the system shuts down. sudo chkconfig /etc/init.d/jboss-on.sh
improvements on fix: https://bugzilla.redhat.com/show_bug.cgi?id=1162646 ADDED: Add the initalization script to chkconfig: sudo chkconfig --add /etc/init.d/jboss-on.sh To indicate that you intend for the script to run system startup and stop during shutdown: sudo chkconfig /etc/init.d/jboss-on.sh on Changed the referenced script to .sh JON 3.2: Git Commit: https://gitlab.cee.redhat.com/tkelly/jon32/commit/82f230d1380eb5804e7c534801b5fe04ba134e0a Git Merge: https://gitlab.cee.redhat.com/red-hat-jboss-operations-network-documentation/jon32/merge_requests/10 Pantheon Preview: https://access.qa.redhat.com/documentation/en-us/red_hat_jboss_operations_network/3.2/html-single/admin_and_config/#running-jon-as-a-service JON 3.3: Git Commit: https://gitlab.cee.redhat.com/tkelly/doc-jon-docs/commit/16501b9821c979c414adfa93a8a7c2c9694a15e2 Git Merge: https://gitlab.cee.redhat.com/red-hat-jboss-operations-network-documentation/doc-jon-docs/merge_requests/40 Pantheon Preview: https://access.qa.redhat.com/documentation/en-us/red_hat_jboss_operations_network/3.3/html-single/admin_and_config/#running-jon-as-a-service
Updated Content now live on the customer portal: Version 3.3: https://access.redhat.com/documentation/en-us/red_hat_jboss_operations_network/3.3/html-single/admin_and_config/#running-jon-as-a-service Version 3.2: https://access.redhat.com/documentation/en-us/red_hat_jboss_operations_network/3.2/html-single/admin_and_config/#running-jon-as-a-service