Ensure the quarantine directory exists

This commit is contained in:
2021-07-13 05:03:40 +00:00
parent 599d2c922b
commit 33f99de4fe
3 changed files with 11 additions and 1 deletions

View File

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