summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorlucas-benedito <55454581+lucas-benedito@users.noreply.github.com>2023-05-31 21:24:30 +0200
committerGitHub <noreply@github.com>2023-05-31 21:24:30 +0200
commit434595481c35a6e450a96474944f97ccd5a6c719 (patch)
tree4503ce1991dafafc8c8c7049a86b37e7961dacd6 /tools
parentFix ovirt source (#12882) (diff)
downloadawx-434595481c35a6e450a96474944f97ccd5a6c719.tar.xz
awx-434595481c35a6e450a96474944f97ccd5a6c719.zip
AAP-8038 - enable/disable services on reboot (#13415)
Co-authored-by: Lucas Benedito <lbenedit@redhat.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/scripts/automation-controller-service11
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/scripts/automation-controller-service b/tools/scripts/automation-controller-service
index 92dae20384..323ef729cb 100755
--- a/tools/scripts/automation-controller-service
+++ b/tools/scripts/automation-controller-service
@@ -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