From ad336ca5683dee70c279ba9167832fdb81a1673e Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 18 Jul 2018 08:30:39 +0200 Subject: [PATCH] fix systemd config --- release/config/systemd/v2ray.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release/config/systemd/v2ray.service b/release/config/systemd/v2ray.service index a35fe3c4..0e2814c8 100644 --- a/release/config/systemd/v2ray.service +++ b/release/config/systemd/v2ray.service @@ -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