summarylogtreecommitdiffstats
path: root/.INSTALL
diff options
context:
space:
mode:
authormzz20172021-08-20 19:38:28 +0800
committermzz20172021-08-20 19:38:28 +0800
commitce75a3327855428e7e158f8eba7e7d9258e8ca72 (patch)
treedccefb40e0060f6d175259a4fbb15d0eb52c400c /.INSTALL
parent51db72577b98537010a06fcb737c679e24fc70fb (diff)
downloadaur-ce75a3327855428e7e158f8eba7e7d9258e8ca72.tar.gz
support noroot user
Diffstat (limited to '.INSTALL')
-rw-r--r--.INSTALL12
1 files changed, 0 insertions, 12 deletions
diff --git a/.INSTALL b/.INSTALL
index d72871ce70cb..9e7631610896 100644
--- a/.INSTALL
+++ b/.INSTALL
@@ -2,8 +2,6 @@
post_install() {
systemctl daemon-reload
- systemctl enable v2raya
- systemctl start v2raya
ECHOLEN=$(echo -e|awk '{print length($0)}')
if [ ${ECHOLEN} = '0' ]
@@ -19,7 +17,6 @@ post_install() {
post_upgrade() {
systemctl daemon-reload
- systemctl restart v2raya
ECHOLEN=$(echo -e|awk '{print length($0)}')
if [ ${ECHOLEN} = '0' ]
@@ -33,12 +30,3 @@ post_upgrade() {
$ECHO "\033[36m******************************\033[0m"
}
-pre_remove() {
- systemctl disable v2raya
- systemctl stop v2raya
- systemctl stop v2ray
-}
-
-post_remove() {
- systemctl daemon-reload
-}