Commit 1f4bccf6 authored by Nicolas Wavrant's avatar Nicolas Wavrant

clammit: add a promise for clamd

parent 8a2f83cb
......@@ -15,7 +15,7 @@
[instance.cfg.in]
filename = instance.cfg.in
md5sum = da846d59eb75a82d0d392c396517e76d
md5sum = d7b01c5ad2817c893c429d3fdd9a28a3
[clamd.conf.in]
filename = clamd.conf.in
......
......@@ -15,6 +15,7 @@ parts =
clamd-parts =
clamd
clamd-socket-promise
clamd-logrotate
freshclam-parts =
freshclam
......@@ -97,6 +98,12 @@ hash-files =
hash-existing-files =
{{ buildout.directory }}/.completed
[clamd-socket-promise]
<= monitor-promise-base
promise = check_command_execute
name = check_clamd_socket.py
config-command = test -S ${clam-config:clamd-socket-file}
[clamd-logrotate]
<= logrotate-entry-base
name = clamd
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment