mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
chore: use environment for log-file for convenient override
This commit is contained in:
1 parent
87a35a65fb
commit
8458da4d6c
2 files changed
+4
-2
No files matched your search
@@ -9,7 +9,8 @@ Type=simple
|
||||
User=root
|
||||
LimitNPROC=500
|
||||
LimitNOFILE=1000000
|
||||
ExecStart=/usr/bin/v2raya --log-file /tmp/v2raya.log
|
||||
ExecStart=/usr/bin/v2raya --log-disable-timestamp
|
||||
Environment=V2RAYA_LOG_FILE=/tmp/v2raya.log
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
||||
@@ -7,7 +7,8 @@ Wants=network.target
|
||||
[Service]
|
||||
Type=simple
|
||||
User=%i
|
||||
ExecStart=/usr/bin/v2raya --lite --log-file /tmp/v2raya.%i.log
|
||||
ExecStart=/usr/bin/v2raya --lite --log-disable-timestamp
|
||||
Environment=V2RAYA_LOG_FILE=/tmp/v2raya.%i.log
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in new issue
Block a user