summaryrefslogtreecommitdiffstats
path: root/scripts/tps-create.sh
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-10-17 20:05:41 -0500
committerEndi Sukma Dewata <edewata@vm-117.idm.lab.bos.redhat.com>2012-10-17 23:11:39 -0400
commit4ea7e49b03a2d815c7a088a87e8759e18053c441 (patch)
treea403222c6507f88c3e338b73cf72893ef2bc60be /scripts/tps-create.sh
parent5c64862603f60fa55c901c84adc7d3557a04acf8 (diff)
downloadpki-dev-4ea7e49b03a2d815c7a088a87e8759e18053c441.tar.gz
pki-dev-4ea7e49b03a2d815c7a088a87e8759e18053c441.tar.xz
pki-dev-4ea7e49b03a2d815c7a088a87e8759e18053c441.zip
Added TPS scripts.
Diffstat (limited to 'scripts/tps-create.sh')
-rwxr-xr-xscripts/tps-create.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/tps-create.sh b/scripts/tps-create.sh
new file mode 100755
index 0000000..24e444c
--- /dev/null
+++ b/scripts/tps-create.sh
@@ -0,0 +1,15 @@
+#!/bin/sh -x
+
+. ./tps-include.sh
+
+pkicreate -pki_instance_root=$INSTANCE_ROOT \
+ -pki_instance_name=$TPS_INSTANCE_NAME \
+ -subsystem_type=$TPS_SUBSYSTEM_TYPE \
+ -secure_port=$TPS_SECURE_PORT \
+ -non_clientauth_secure_port=$TPS_NON_CLIENTAUTH_SECURE_PORT \
+ -unsecure_port=$TPS_UNSECURE_PORT \
+ -user=$INSTANCE_USER \
+ -group=$INSTANCE_GROUP \
+ -redirect conf=/etc/$TPS_INSTANCE_NAME \
+ -redirect logs=/var/log/$TPS_INSTANCE_NAME \
+ -verbose