diff options
author | DuckSoft | 2020-05-16 17:23:24 +0800 |
---|---|---|
committer | DuckSoft | 2020-05-16 17:23:24 +0800 |
commit | c2e4a1337e9a2b2d2b95d31a09fd60959dace5df (patch) | |
tree | 3ed74536844685d66b2e1c953016f508d51f7322 /v2ray.service | |
download | aur-c2e4a1337e9a2b2d2b95d31a09fd60959dace5df.tar.gz |
initial commit
Diffstat (limited to 'v2ray.service')
-rw-r--r-- | v2ray.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/v2ray.service b/v2ray.service new file mode 100644 index 000000000000..0059aaec87e9 --- /dev/null +++ b/v2ray.service @@ -0,0 +1,13 @@ +[Unit] +Description=V2Ray Service +After=network.target +Wants=network.target + +[Service] +Type=simple +PIDFile=/var/run/v2ray-%i.pid +ExecStart=/usr/bin/env V2RAY_VMESS_PADDING=1 v2ray.location.asset=/etc/v2ray /usr/bin/v2ray -config /etc/v2ray/%i.json +Restart=on-failure + +[Install] +WantedBy=multi-user.target |