diff options
Diffstat (limited to 'app-antivirus/clamav/files/freshclam.initd')
-rwxr-xr-x | app-antivirus/clamav/files/freshclam.initd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app-antivirus/clamav/files/freshclam.initd b/app-antivirus/clamav/files/freshclam.initd new file mode 100755 index 000000000000..415d94a87668 --- /dev/null +++ b/app-antivirus/clamav/files/freshclam.initd @@ -0,0 +1,8 @@ +#!/sbin/openrc-run + +command="/usr/bin/freshclam" +pidfile="/run/${RC_SVCNAME}.pid" + +# Ignore the value of "PidFile" set in freshclam.conf. +command_args="-p ${pidfile}" +command_args_background="--daemon" |