blob: 991e6440f3891d44a7b15a2115a81909d9f1dbc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[Unit]
Description=v2rayA Service
Documentation=https://github.com/mzz2017/v2rayA/wiki
After=network.target
Wants=network.target
[Service]
Type=simple
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW CAP_NET_BIND_SERVICE
Environment=V2RAYA_CONFIG=/etc/v2ray/v2raya.json
ExecStart=/usr/bin/v2raya
Restart=on-failure
[Install]
WantedBy=multi-user.target
|