From 7dca020819b7573cd05bd54482fb5d1afe9bb658 Mon Sep 17 00:00:00 2001 From: Ade Lee Date: Wed, 6 May 2015 16:06:34 -0400 Subject: Patches to get nuxwdog working with systemd This patch adds some new unit files and targets for starting instances with nuxwdog, as well as logic within the pki-server nuxwdog module to switch to/from the old and new systemd unit files. It also corrects some issues found in additional testing of the nuxwdog change scripts. To use nuxwdog to start the instance, a user needs to do the following: 1. Create an instance normally. 2. Run: pki-server instance-nuxwdog-enable 3. Start the instance using: systemctl start pki-tomcatd-nuxwdog@.service To revert the instance, simply do the following: 1. Run: pki-server instance-nuxwdog-disable 2. Start the instance using: systemctl start pki-tomcatd@.service --- base/server/tomcat7/conf/server.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base/server/tomcat7') diff --git a/base/server/tomcat7/conf/server.xml b/base/server/tomcat7/conf/server.xml index 8b6e40473..e6c4bd201 100644 --- a/base/server/tomcat7/conf/server.xml +++ b/base/server/tomcat7/conf/server.xml @@ -79,6 +79,8 @@ Tomcat Port = [TOMCAT_SERVER_PORT] (for shutdown) + +