summarylogtreecommitdiffstats
path: root/.INSTALL
diff options
context:
space:
mode:
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 000000000000..27fc45680e1a
--- /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
+
+}