From 0632591996893fe136a1f2fe44d9b9f404f41f3e Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Thu, 1 Nov 2018 13:30:58 +0100 Subject: Initial commit --- localfs/etc/systemd/system/freshclam.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 localfs/etc/systemd/system/freshclam.service (limited to 'localfs/etc/systemd/system/freshclam.service') diff --git a/localfs/etc/systemd/system/freshclam.service b/localfs/etc/systemd/system/freshclam.service new file mode 100644 index 0000000..a14de83 --- /dev/null +++ b/localfs/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/sbin/freshclamd start +ExecStop=/usr/local/sbin/freshclamd stop +TimeoutStartSec=10s +TimeoutStopSec=30s + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3