From 6f9d417ff906360ee2f39a432cd3faccc3f52a2e Mon Sep 17 00:00:00 2001 From: Matthew Harmsen Date: Tue, 26 Apr 2016 16:43:15 -0600 Subject: Removed pkidaemon support of apache instances - PKI TRAC Ticket #2248 - support only tomcat instances --- base/server/scripts/pkidaemon | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'base/server/scripts/pkidaemon') diff --git a/base/server/scripts/pkidaemon b/base/server/scripts/pkidaemon index c9bdecea1..98ce3e0c2 100755 --- a/base/server/scripts/pkidaemon +++ b/base/server/scripts/pkidaemon @@ -24,8 +24,8 @@ SERVICE_NAME="pkidaemon" SERVICE_PROG="/bin/systemctl" command="$1" -pki_instance_type="$2" -pki_instance_id="$3" +pki_instance_type="tomcat" +pki_instance_id="$2" PKI_REGISTRY="/etc/sysconfig/pki/${pki_instance_type}" PKI_TYPE="${pki_instance_type}" @@ -38,9 +38,7 @@ print_usage() { echo usage - echo "where valid instance types include:" - list_instance_types - echo "and where valid instance names include:" + echo "where valid instance names include:" list_instances exit ${default_error} } @@ -75,9 +73,7 @@ case $command in echo "unknown action ($command)" echo usage - echo "where valid instance types include:" - list_instance_types - echo "and where valid instance names include:" + echo "where valid instance names include:" list_instances exit ${default_error} ;; -- cgit