summarylogtreecommitdiffstats
path: root/rustdesk-git.install
blob: e32971f62493712ccd8b1f74a7b1ad3742b3c431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# arg 1:  the new package version
post_install() {
  if systemctl -q is-active 'rustdesk.service'; then
    systemctl daemon-reload
    systemctl restart 'rustdesk.service'
  fi
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  if systemctl -q is-active 'rustdesk.service'; then
    systemctl restart 'rustdesk.service'
  fi
}