mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
remove unnecessary ExecStop as systemd does it automatically
This commit is contained in:
parent
bd94b8254a
commit
185c4e6eae
@ -7,7 +7,6 @@ Wants=network.target
|
|||||||
Type=simple
|
Type=simple
|
||||||
PIDFile=/var/run/v2ray.pid
|
PIDFile=/var/run/v2ray.pid
|
||||||
ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json
|
ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json
|
||||||
ExecStop=kill $(cat /var/run/v2ray.pid)
|
|
||||||
Restart=on-abnormal
|
Restart=on-abnormal
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user