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

clammit: add a promise for clamd

parent 8a2f83cb
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
[instance.cfg.in] [instance.cfg.in]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = da846d59eb75a82d0d392c396517e76d md5sum = d7b01c5ad2817c893c429d3fdd9a28a3
[clamd.conf.in] [clamd.conf.in]
filename = clamd.conf.in filename = clamd.conf.in
......
...@@ -15,6 +15,7 @@ parts = ...@@ -15,6 +15,7 @@ parts =
clamd-parts = clamd-parts =
clamd clamd
clamd-socket-promise
clamd-logrotate clamd-logrotate
freshclam-parts = freshclam-parts =
freshclam freshclam
...@@ -97,6 +98,12 @@ hash-files = ...@@ -97,6 +98,12 @@ hash-files =
hash-existing-files = hash-existing-files =
{{ buildout.directory }}/.completed {{ 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] [clamd-logrotate]
<= logrotate-entry-base <= logrotate-entry-base
name = clamd 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