mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 00:57:48 -02:30
AAP-8038 - enable/disable services on reboot (#13415)
Co-authored-by: Lucas Benedito <lbenedit@redhat.com>
This commit is contained in:
@@ -11,8 +11,11 @@ case "$1" in
|
|||||||
status)
|
status)
|
||||||
exec systemctl status automation-controller.service $CONTROLLER_SERVICES
|
exec systemctl status automation-controller.service $CONTROLLER_SERVICES
|
||||||
;;
|
;;
|
||||||
|
enable|disable)
|
||||||
|
exec systemctl $1 automation-controller.service $CONTROLLER_SERVICES
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: automation-controller-service start|stop|restart|status"
|
echo "Usage: automation-controller-service start|stop|restart|status|enable|disable"
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user