PKGBUILDs/community/v2ray/v2ray.service

14 lines
282 B
SYSTEMD
Raw Normal View History

2017-11-19 19:13:16 +00:00
[Unit]
Description=V2Ray Service
After=network.target
Wants=network.target
[Service]
Type=simple
PIDFile=/var/run/v2ray-%i.pid
ExecStart=/usr/bin/env v2ray.location.asset=/etc/v2ray /usr/bin/v2ray -config /etc/v2ray/%i.json
Restart=on-failure
[Install]
WantedBy=multi-user.target