summarylogtreecommitdiffstats
path: root/.INSTALL
blob: 27fc45680e1ab7bb0dda6c6ae07fe347e2740d13 (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
30
31
32
post_install() {
    :
#!/bin/sh

systemctl daemon-reload
systemctl enable v2raya
systemctl start v2raya

}
post_upgrade() {
    :
#!/bin/sh

systemctl restart v2raya

}
pre_remove() {
    :
#!/bin/sh

systemctl disable v2raya
ststemctl stop v2raya
ststemctl stop v2ray

}
post_remove() {
    :
#!/bin/sh

systemctl daemon-reload

}