mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 16:38:01 +00:00
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Thomas Raschbacher <lordvan@gentoo.org>
18 lines
437 B
Text
18 lines
437 B
Text
#!/sbin/openrc-run
|
|
|
|
command="/usr/sbin/clamonacc"
|
|
pidfile="/run/${RC_SVCNAME}.pid"
|
|
|
|
# clamonacc doesn't support a PID file at the moment, so we
|
|
# run it in the foreground and let OpenRC background it.
|
|
#
|
|
# https://bugzilla.clamav.net/show_bug.cgi?id=12595
|
|
#
|
|
command_args="--foreground"
|
|
command_background=true
|
|
|
|
depend() {
|
|
# Unlike the milter, the on-access scanner will simply fail to start
|
|
# until clamd is available.
|
|
need clamd
|
|
}
|