blob: cb6537b76f2eb53f1e1996070cffa0c88b14dace (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
post_install() {
novpn_ns configure_default
systemctl daemon-reload
systemctl enable novpn.service
systemctl start novpn.service
}
pre_upgrade() {
novpn_ns down
systemctl stop novpn.service
systemctl disable novpn.service
}
post_upgrade() {
systemctl daemon-reload
systemctl enable novpn.service
systemctl start novpn.service
}
pre_remove() {
novpn_ns down
systemctl stop novpn.service
systemctl disable novpn.service
}
post_remove() {
systemctl daemon-reload
}
|