diff options
Diffstat (limited to 'v2raya@.service')
-rw-r--r-- | v2raya@.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/v2raya@.service b/v2raya@.service new file mode 100644 index 000000000000..eb5d55740d70 --- /dev/null +++ b/v2raya@.service @@ -0,0 +1,14 @@ +[Unit] +Description=v2rayA Service for %i +Documentation=https://github.com/v2rayA/v2rayA/wiki +After=network.target nss-lookup.target iptables.service ip6tables.service +Wants=network.target + +[Service] +Type=simple +User=%i +ExecStart=/usr/bin/v2raya --passcheckroot --config=$HOME/.config/v2raya +Restart=on-failure + +[Install] +WantedBy=multi-user.target |