diff options
Diffstat (limited to 'localfs/etc/systemd/system/freshclam.service')
-rw-r--r-- | localfs/etc/systemd/system/freshclam.service | 15 |
1 files changed, 15 insertions, 0 deletions
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 |