mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
restart the service on core dump
This commit is contained in:
parent
c9750fa3ba
commit
5602f6dca5
@ -8,6 +8,7 @@ Type=simple
|
||||
PIDFile=/var/run/v2ray.pid
|
||||
ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json
|
||||
ExecStop=kill $(cat /var/run/v2ray.pid)
|
||||
Restart=on-abnormal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user