14 lines
253 B
SYSTEMD
14 lines
253 B
SYSTEMD
|
# Run freshclam as a daemon.
|
||
|
[Unit]
|
||
|
Description = ClamAV Freshclam service.
|
||
|
After = network.target
|
||
|
|
||
|
[Service]
|
||
|
Type = forking
|
||
|
ExecStart = /usr/bin/freshclam --daemon --checks 2
|
||
|
Restart = on-failure
|
||
|
PrivateTmp = true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|