mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
14 lines
282 B
SYSTEMD
14 lines
282 B
SYSTEMD
|
[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
|