diff options
Diffstat (limited to 'watchman.install')
-rw-r--r-- | watchman.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/watchman.install b/watchman.install new file mode 100644 index 000000000000..12699ca74f3b --- /dev/null +++ b/watchman.install @@ -0,0 +1,16 @@ +post_install() { + # Enable socket by default + systemctl --global enable watchman.socket +} + +post_upgrade() { + if (( $(vercmp $2 2021.05.24.00-1) < 0)); then + systemctl --global enable watchman.socket + fi +} + +pre_remove() { + systemctl --global disable watchman.socket +} + +# vim:set sw=2 et: |