summarylogtreecommitdiffstats
path: root/suricata-update.service
diff options
context:
space:
mode:
authorJSkier212021-06-21 12:28:49 -0500
committerJSkier212021-06-21 12:28:49 -0500
commitf2e69abd8f56341726e48092fa9d9ae77a7a3e87 (patch)
tree95eab751c510822467441678b462b9c6094bd8aa /suricata-update.service
parent3236a1c777bf7a5b9b095614668fddd184c0159a (diff)
downloadaur-f2e69abd8f56341726e48092fa9d9ae77a7a3e87.tar.gz
update to old stable 5
Diffstat (limited to 'suricata-update.service')
-rw-r--r--suricata-update.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/suricata-update.service b/suricata-update.service
new file mode 100644
index 000000000000..c87eac5e40b8
--- /dev/null
+++ b/suricata-update.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Suricata rules downloader
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/suricata-update "-o /etc/suricata/rules --reload-command='kill -USR2 $$(cat /run/suricata/suricata.pid)'"