summaryrefslogtreecommitdiffstats
path: root/base/server/scripts/pkidaemon
diff options
context:
space:
mode:
authorMatthew Harmsen <mharmsen@pki.usersys.redhat.com>2016-04-26 16:43:15 -0600
committerMatthew Harmsen <mharmsen@pki.usersys.redhat.com>2016-04-27 12:38:20 -0600
commit6f9d417ff906360ee2f39a432cd3faccc3f52a2e (patch)
treed9a4f3391073acc358cc9f2fbfe23a0fe26e40d5 /base/server/scripts/pkidaemon
parent849705a4cde92e61d3edaa5c266f97661d65f797 (diff)
downloadpki-6f9d417ff906360ee2f39a432cd3faccc3f52a2e.tar.gz
pki-6f9d417ff906360ee2f39a432cd3faccc3f52a2e.tar.xz
pki-6f9d417ff906360ee2f39a432cd3faccc3f52a2e.zip
Removed pkidaemon support of apache instances
- PKI TRAC Ticket #2248 - support only tomcat instances
Diffstat (limited to 'base/server/scripts/pkidaemon')
-rwxr-xr-xbase/server/scripts/pkidaemon12
1 files changed, 4 insertions, 8 deletions
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}
;;