From b1332ed3c4ea2f6667ce3149fdcc2be047ea119a Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Thu, 5 Jul 2018 20:11:59 +0200 Subject: Initial commit --- etc/systemd/system/freshclam.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 etc/systemd/system/freshclam.service (limited to 'etc/systemd') 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 -- cgit v1.2.3