summarylogtreecommitdiffstats
path: root/v2raya-lite.service
diff options
context:
space:
mode:
Diffstat (limited to 'v2raya-lite.service')
-rw-r--r--v2raya-lite.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/v2raya-lite.service b/v2raya-lite.service
new file mode 100644
index 000000000000..660a973f5e72
--- /dev/null
+++ b/v2raya-lite.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=v2rayA Lite Service
+Documentation=https://github.com/v2rayA/v2rayA/wiki
+After=network.target nss-lookup.target iptables.service ip6tables.service
+Wants=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/v2raya --lite --log-disable-timestamp
+Environment=V2RAYA_LOG_FILE=%L/v2raya/v2raya.log
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target