v2ray@.service: prevent restart on bad config
parent
dd07d27f89
commit
9a02fa234b
|
@ -10,6 +10,7 @@ NoNewPrivileges=true
|
|||
Environment=V2RAY_LOCATION_ASSET=/usr/local/share/v2ray/
|
||||
ExecStart=/usr/local/bin/v2ray -config /usr/local/etc/v2ray/%i.json
|
||||
Restart=on-failure
|
||||
RestartPreventExitStatus=23
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue