summarylogtreecommitdiffstats
path: root/vxray-rules-dat-updater.service
diff options
context:
space:
mode:
authorzswdcx2021-08-22 17:49:43 +0800
committerzswdcx2021-08-22 17:49:43 +0800
commit81083e2634ae6f535cb864f200e183416c18db05 (patch)
tree3702d889ee6b367d81d3eb569b7395af45505448 /vxray-rules-dat-updater.service
downloadaur-81083e2634ae6f535cb864f200e183416c18db05.tar.gz
ver1-1
Diffstat (limited to 'vxray-rules-dat-updater.service')
-rw-r--r--vxray-rules-dat-updater.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/vxray-rules-dat-updater.service b/vxray-rules-dat-updater.service
new file mode 100644
index 00000000000..0332b3eb84b
--- /dev/null
+++ b/vxray-rules-dat-updater.service
@@ -0,0 +1,11 @@
+[Unit]
+Description = Service for update vxray-dat-rules files
+After = network.target
+
+[Service]
+Type = oneshot
+User = vxray-rules-dat
+Group = vxray-rules-dat
+
+WorkingDirectory = /var/lib/vxray-rules-dat
+ExecStart = /usr/bin/vxray-rules-dat-updater github