summaryrefslogtreecommitdiffstats
path: root/base/deploy/scripts/pkidaemon
diff options
context:
space:
mode:
authorMatthew Harmsen <mharmsen@redhat.com>2012-12-19 11:49:57 -0800
committerMatthew Harmsen <mharmsen@redhat.com>2012-12-19 11:51:04 -0800
commit01bbfc224a228206fbe18318b2a23363fa9663cc (patch)
treeb2a76b21bc50ef556a053e73229d8098748acaaa /base/deploy/scripts/pkidaemon
parent43db13a8c83fed0af15b9fb442872c05774c0569 (diff)
downloadpki-01bbfc224a228206fbe18318b2a23363fa9663cc.tar.gz
pki-01bbfc224a228206fbe18318b2a23363fa9663cc.tar.xz
pki-01bbfc224a228206fbe18318b2a23363fa9663cc.zip
TRAC Ticket #271 - Dogtag 10: Fix 'status' command in 'pkidaemon' . . .
Diffstat (limited to 'base/deploy/scripts/pkidaemon')
-rwxr-xr-xbase/deploy/scripts/pkidaemon12
1 files changed, 7 insertions, 5 deletions
diff --git a/base/deploy/scripts/pkidaemon b/base/deploy/scripts/pkidaemon
index 02b02370f..3e1d27a40 100755
--- a/base/deploy/scripts/pkidaemon
+++ b/base/deploy/scripts/pkidaemon
@@ -38,8 +38,7 @@ SYSTEMD=1
# See how we were called.
case $command in
status)
- # registry_status
- echo "The 'status' action is TBD."
+ registry_status
exit $?
;;
start)
@@ -67,9 +66,12 @@ case $command in
;;
*)
echo "unknown action ($command)"
- usage
- echo "where valid instance names include:"
- list_instances
+ echo
+ usage_systemd
+ echo "where valid instance types include:"
+ list_instance_types
+ echo "and where valid instance names include:"
+ list_systemd_instances
exit ${default_error}
;;
esac