blob: c04d2e0e3f96af6194a4bdc5d7909db86c3e65f5 (
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
33
34
35
36
37
38
39
40
41
42
|
post_install() {
:
#!/bin/sh
systemctl daemon-reload
systemctl enable v2raya
systemctl start v2raya
echo -e "\033[36m************************************\033[0m"
echo -e "\033[36m* Congratulations! *\033[0m"
echo -e "\033[36m* GUI demo: https://v2raya.mzz.pub *\033[0m"
echo -e "\033[36m************************************\033[0m"
}
post_upgrade() {
:
#!/bin/sh
systemctl daemon-reload
systemctl restart v2raya
echo -e "\033[36m************************************\033[0m"
echo -e "\033[36m* Congratulations! *\033[0m"
echo -e "\033[36m* GUI demo: https://v2raya.mzz.pub *\033[0m"
echo -e "\033[36m************************************\033[0m"
}
pre_remove() {
:
#!/bin/sh
systemctl disable v2raya
systemctl stop v2raya
systemctl stop v2ray
}
post_remove() {
:
#!/bin/sh
systemctl daemon-reload
}
|