From 434595481c35a6e450a96474944f97ccd5a6c719 Mon Sep 17 00:00:00 2001 From: lucas-benedito <55454581+lucas-benedito@users.noreply.github.com> Date: Wed, 31 May 2023 21:24:30 +0200 Subject: [PATCH] AAP-8038 - enable/disable services on reboot (#13415) Co-authored-by: Lucas Benedito --- tools/scripts/automation-controller-service | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/scripts/automation-controller-service b/tools/scripts/automation-controller-service index 92dae203841e..323ef729cbfc 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