Skip to content

Commit

Permalink
AAP-8038 - enable/disable services on reboot (#13415)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Benedito <[email protected]>
  • Loading branch information
lucas-benedito and lucas-benedito authored May 31, 2023
1 parent 444d054 commit 4345954
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tools/scripts/automation-controller-service
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4345954

Please sign in to comment.