Ensure that clamonacc restarts when it fails

This commit is contained in:
2021-07-15 00:51:34 +00:00
parent 33f99de4fe
commit 1559e309fe
2 changed files with 4 additions and 7 deletions

View File

@@ -10,6 +10,7 @@ After=clamd@scan.service syslog.target network.target
Type=simple
User=root
ExecStart=/usr/sbin/clamonacc -F --config-file=/etc/clamd.d/scan.conf --move={{ quarantine_directory }} --fdpass
Restart=on-failure
[Install]
WantedBy=multi-user.target