diff options
author | Ben Alex | 2023-08-03 12:51:39 +1000 |
---|---|---|
committer | Ben Alex | 2023-08-03 12:51:39 +1000 |
commit | 727e18182568d67b54f69d501f4dae254121c76f (patch) | |
tree | b08a891c397f10a5a2e08b37c327a03c654fe598 /openhab4.hook | |
download | aur-727e18182568d67b54f69d501f4dae254121c76f.tar.gz |
Initial commit
Diffstat (limited to 'openhab4.hook')
-rw-r--r-- | openhab4.hook | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openhab4.hook b/openhab4.hook new file mode 100644 index 000000000000..8cb09544ef5a --- /dev/null +++ b/openhab4.hook @@ -0,0 +1,10 @@ +[Trigger] +Type = Package +Operation = Upgrade +Target = openhab4 +Target = openhab4-addons + +[Action] +Description = Stopping openhab4 for upgrade +When = PreTransaction +Exec = /usr/bin/systemctl stop openhab4.service |