summarylogtreecommitdiffstats
path: root/v2raya.service
diff options
context:
space:
mode:
Diffstat (limited to 'v2raya.service')
-rw-r--r--v2raya.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/v2raya.service b/v2raya.service
index 02b08d99eeb6..9a0e2062cd77 100644
--- a/v2raya.service
+++ b/v2raya.service
@@ -7,6 +7,9 @@ Wants=network.target
[Service]
Type=simple
User=root
+LimitNPROC=500
+LimitNOFILE=1000000
+Environment="GODEBUG=madvdontneed=1"
ExecStart=/usr/bin/v2raya
Restart=on-failure