summarylogtreecommitdiffstats
path: root/v2rayxplus.service
blob: 71bcd89416b7ebb0136560883900a3693a93cb71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=V2RayXPlus Service
After=network.target
Wants=network.target

[Service]
Type=oneshot
ExecStart=/usr/bin/v2rayxplus -start
ExecStop=/usr/bin/v2rayxplus -stop
ExecStartPre=/usr/bin/systemctl start v2ray.service
ExecStopPost=/usr/bin/systemctl stop v2ray.service
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target