clamav/clamd/clamav-daemon.socket.in
Micah Snyder cf63dad598 clamav.net URL update for new docs (2)
Additional link fixes, missed in the previous commit.
2021-07-17 16:21:47 -07:00

16 lines
422 B
SYSTEMD

[Unit]
Description=Socket for Clam AntiVirus userspace daemon
Documentation=man:clamd(8) man:clamd.conf(5) https://docs.clamav.net/
# Check for database existence
ConditionPathExistsGlob=@DATADIR@/main.{c[vl]d,inc}
ConditionPathExistsGlob=@DATADIR@/daily.{c[vl]d,inc}
[Socket]
ListenStream=/run/clamav/clamd.ctl
#ListenStream=1024
SocketUser=clamav
SocketGroup=clamav
RemoveOnStop=True
[Install]
WantedBy=sockets.target