summarylogtreecommitdiffstats
path: root/.INSTALL
diff options
context:
space:
mode:
authorTravis CI User2019-11-21 20:11:49 +0000
committerTravis CI User2019-11-21 20:11:49 +0000
commitb3de7c3bc70d19524ce31701fc780d67e045f242 (patch)
treebf1d1b84d11c107a4ff4b945772aa14aee90e55f /.INSTALL
parent927d024d97b3d1165e434519eb51c003c043b128 (diff)
downloadaur-b3de7c3bc70d19524ce31701fc780d67e045f242.tar.gz
AUR
Diffstat (limited to '.INSTALL')
-rw-r--r--.INSTALL32
1 files changed, 32 insertions, 0 deletions
diff --git a/.INSTALL b/.INSTALL
new file mode 100644
index 00000000000..27fc45680e1
--- /dev/null
+++ b/.INSTALL
@@ -0,0 +1,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
+
+}