summarylogtreecommitdiffstats
path: root/kelvpn.install
blob: 0178927cc945c00b71d470823c94d65ecdbcd13f (plain)
1
2
3
4
5
6
7
8
pre_upgrade() {
    systemctl is-active KelVPNService.service --quiet && systemctl stop KelVPNService.service
}

post_upgrade() {
    systemctl daemon-reload
    systemctl is-enabled --quiet KelVPNService.service && systemctl start KelVPNService.service
}