Skip to content

Commit

Permalink
new initscript 'initdb' command
Browse files Browse the repository at this point in the history
  • Loading branch information
lzap committed Jun 23, 2011
1 parent b4c2537 commit 6b4d212
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/extras/fedora/katello.init
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,13 @@ case "$1" in
status)
status
;;
initdb)
pushd $KATELLO_HOME
su $KATELLO_USER -s /bin/bash -c "rake setup --trace"
popd
;;
*)
echo "Usage: {start|stop|restart|condrestart|status}"
echo "Usage: {start|stop|restart|condrestart|status|initdb}"
exit 1
;;
esac
Expand Down

0 comments on commit 6b4d212

Please sign in to comment.