summarylogtreecommitdiffstats
path: root/v2ray-rules-dat-autoupdate.service
diff options
context:
space:
mode:
Diffstat (limited to 'v2ray-rules-dat-autoupdate.service')
-rw-r--r--v2ray-rules-dat-autoupdate.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/v2ray-rules-dat-autoupdate.service b/v2ray-rules-dat-autoupdate.service
new file mode 100644
index 000000000000..71df46446fc5
--- /dev/null
+++ b/v2ray-rules-dat-autoupdate.service
@@ -0,0 +1,11 @@
+[Unit]
+Description = Service for update v2ray-dat-rules files
+After = network.target
+
+[Service]
+Type = oneshot
+User = v2ray-rules-dat
+Group = v2ray-rules-dat
+
+WorkingDirectory = /var/lib/v2ray-rules-dat
+ExecStart = /usr/bin/v2ray-rules-dat-autoupdate