mirror of https://github.com/v2ray/v2ray-core
restart the service on core dump
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