Skip to content

Commit

Permalink
Don't restart salt-updater service
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronRP committed Mar 5, 2024
1 parent 9a92ef5 commit ffd279e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tc2/salt-updater/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ salt-updater-pkg:
salt-updater:
service.running:
- enable: True
- watch:
- salt-updater-pkg
# Don't include the watch section as that will tell salt to restart the service if the packages updates.
# Not what we want because this package is running the update itself. Service will restart when the camera is restarted.
# //TOOD Find solution for 24/7 cameras
#- watch:
# - salt-updater-pkg

0 comments on commit ffd279e

Please sign in to comment.