summarylogtreecommitdiffstats
path: root/watchman.install
blob: 12699ca74f3b1a60bd4cf4717f1d191a693942a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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: