git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/etc/systemd/system
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/system')
-rw-r--r--etc/systemd/system/freshclam.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/systemd/system/freshclam.service b/etc/systemd/system/freshclam.service
new file mode 100644
index 0000000..735d817
--- /dev/null
+++ b/etc/systemd/system/freshclam.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=ClamAV database updater (freshclam)
+Wants=network.target
+Requires=network.target
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/local/bin/freshclam-start
+ExecStop=/usr/local/bin/freshclam-die
+TimeoutStartSec=10s
+TimeoutStopSec=30s
+
+[Install]
+WantedBy=multi-user.target