diff options
author | varac <varacanero@zeromail.org> | 2016-09-08 20:37:27 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-09-08 20:37:27 +0200 |
commit | 8cb40d25f3e74b37c47b0c265b346f9de860aa77 (patch) | |
tree | 82798a5ef02f6403959fb0b814a77005a19e0151 /puppet/modules/clamav/files/clamav-daemon.path | |
parent | 49fdcf22084258954410d158428d5e38652c36f4 (diff) | |
parent | a3af8acba8cd479f47d76784082d95100c0833ef (diff) |
Merge branch 'ensure_clamav_running' into develop
Diffstat (limited to 'puppet/modules/clamav/files/clamav-daemon.path')
-rw-r--r-- | puppet/modules/clamav/files/clamav-daemon.path | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/puppet/modules/clamav/files/clamav-daemon.path b/puppet/modules/clamav/files/clamav-daemon.path new file mode 100644 index 00000000..6e57d187 --- /dev/null +++ b/puppet/modules/clamav/files/clamav-daemon.path @@ -0,0 +1,12 @@ +[Unit] +Description=Path Activation for Clam AntiVirus userspace daemon +Documentation=man:clamd(8) man:clamd.conf(5) http://www.clamav.net/lang/en/doc/ + +[Path] +# Check and wait for database existence before starting up +PathExistsGlob=/var/lib/clamav/main.{c[vl]d,inc} +PathExistsGlob=/var/lib/clamav/daily.{c[vl]d,inc} + +[Install] +WantedBy=sockets.target + |