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