modify the startup service file again

pull/1/head
Dct Mei 2020-03-12 15:09:34 +08:00
parent 30be478de6
commit e415a12bb1
No known key found for this signature in database
GPG Key ID: 50BF8B712DCAD7EA
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Wants=network.target
# Group=v2ray
Type=simple
PIDFile=/run/v2ray.pid
ExecStart=/usr/local/bin/v2ray -config /usr/local/etc/v2ray/config.json
ExecStart=/usr/bin/env V2RAY_LOCATION_ASSET=/usr/local/lib/v2ray /usr/local/bin/v2ray -config /usr/local/etc/v2ray/config.json
Restart=on-failure
# Don't restart in the case of configuration error
RestartPreventExitStatus=23