mirror of
https://github.com/serghey-rodin/vesta.git
synced 2024-12-11 14:50:49 -08:00
f294dc1b2a
Fix for https://bugs.vestacp.com/issues/393 Solution taken from https://forum.vestacp.com/viewtopic.php?f=40&t=11044#p42704
15 lines
362 B
Desktop File
15 lines
362 B
Desktop File
[Unit]
|
|
Description = clamd scanner (clamd) daemon
|
|
After = syslog.target nss-lookup.target network.target
|
|
|
|
[Service]
|
|
Type = simple
|
|
ExecStartPre = /usr/bin/mkdir -p /var/run/clamav
|
|
ExecStartPre = /usr/bin/chown -R clam:clam /var/run/clamav
|
|
ExecStart = /usr/sbin/clamd -c /etc/clamd.conf
|
|
Restart = on-failure
|
|
PrivateTmp = true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|