summarylogtreecommitdiffstats
path: root/vxray-rules-dat-updater.service
blob: 1820e1cc42e8beb68718d72e456edcadc30782ce (plain)
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description = Service for update vxray-dat-rules files
After = network.target

[Service]
Type = oneshot
User = root
Group = root

WorkingDirectory = /var/lib/vxray-rules-dat
ExecStart = /usr/bin/vxray-rules-dat-updater github && cp -f /var/lib/vxray-rules-dat/geoip.dat /usr/share/v2ray/geoip.dat && cp -f /var/lib/vxray-rules-dat/geoip.dat /usr/share/xray/geoip.dat && cp -f /var/lib/vxray-rules-dat/geoip.dat /usr/share/v2ray/geosite.dat && cp -f /var/lib/vxray-rules-dat/geoip.dat /usr/share/xray/geosite.dat