diff options
Diffstat (limited to 'openhab3.hook')
-rw-r--r-- | openhab3.hook | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openhab3.hook b/openhab3.hook new file mode 100644 index 000000000000..d21ef6aa745b --- /dev/null +++ b/openhab3.hook @@ -0,0 +1,10 @@ +[Trigger] +Type = Package +Operation = Upgrade +Target = openhab3 +Target = openhab3-addons + +[Action] +Description = Stopping openHAB3 for upgrade +When = PreTransaction +Exec = /usr/bin/systemctl stop openhab3.service |