summarylogtreecommitdiffstats
path: root/vxray-rules-dat-updater.service
diff options
context:
space:
mode:
Diffstat (limited to 'vxray-rules-dat-updater.service')
-rw-r--r--vxray-rules-dat-updater.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/vxray-rules-dat-updater.service b/vxray-rules-dat-updater.service
index 80dc1ce2c61..1820e1cc42e 100644
--- a/vxray-rules-dat-updater.service
+++ b/vxray-rules-dat-updater.service
@@ -4,8 +4,8 @@ After = network.target
[Service]
Type = oneshot
-User = vxray-rules-dat
-Group = vxray-rules-dat
+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