浏览代码

remove unnecessary ExecStop as systemd does it automatically

v2ray 9 年之前
父节点
当前提交
185c4e6eae
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      release/config/systemd/v2ray.service

+ 0 - 1
release/config/systemd/v2ray.service

@@ -7,7 +7,6 @@ Wants=network.target
 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]