diff --git a/release/config/systemd/v2ray.service b/release/config/systemd/v2ray.service index fbc7f4feb..eb5004be7 100644 --- a/release/config/systemd/v2ray.service +++ b/release/config/systemd/v2ray.service @@ -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