diff options
author | Matthew Harmsen <mharmsen@redhat.com> | 2012-12-19 11:49:57 -0800 |
---|---|---|
committer | Matthew Harmsen <mharmsen@redhat.com> | 2012-12-19 11:51:04 -0800 |
commit | 01bbfc224a228206fbe18318b2a23363fa9663cc (patch) | |
tree | b2a76b21bc50ef556a053e73229d8098748acaaa /base/deploy/scripts/pkidaemon | |
parent | 43db13a8c83fed0af15b9fb442872c05774c0569 (diff) | |
download | pki-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-x | base/deploy/scripts/pkidaemon | 12 |
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 |