mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 17:46:58 -05:00
fix systemd config
This commit is contained in:
parent
ecd45ffb65
commit
ad336ca568
@ -13,7 +13,8 @@ Type=simple
|
||||
PIDFile=/var/run/v2ray.pid
|
||||
ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json
|
||||
Restart=on-failure
|
||||
RestartPreventExitStatus=23 # Configuration error
|
||||
# Don't restart in the case of configuration error
|
||||
RestartPreventExitStatus=23
|
||||
# After unexpected exit, upload latest V2Ray log to official log service for future analysis.
|
||||
# ExecStopPost=/usr/bin/v2ray/upload.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user