summarylogtreecommitdiffstats
path: root/v2raya.service
diff options
context:
space:
mode:
Diffstat (limited to 'v2raya.service')
-rw-r--r--v2raya.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/v2raya.service b/v2raya.service
index 55216b2f7283..fe5ae97b716d 100644
--- a/v2raya.service
+++ b/v2raya.service
@@ -1,7 +1,7 @@
[Unit]
Description=v2rayA Service
Documentation=https://github.com/v2rayA/v2rayA/wiki
-After=network.target nss-lookup.target iptables.service ip6tables.service
+After=network.target nss-lookup.target iptables.service ip6tables.service nftables.service
Wants=network.target
[Service]
@@ -11,6 +11,7 @@ LimitNPROC=500
LimitNOFILE=1000000
ExecStart=/usr/bin/v2raya --log-disable-timestamp
Environment=V2RAYA_LOG_FILE=/var/log/v2raya/v2raya.log
+EnvironmentFile=-/etc/default/v2raya
Restart=on-failure
[Install]