Skip to content

Commit

Permalink
Fix systemd warning; remove deprecated option
Browse files Browse the repository at this point in the history
The StandardOutput option for systemd has been deprecated and results in
the following warning messages in systemd version: systemd 246.3-1:

usr/lib/systemd/system/clamav-freshclam.service:13: Standard output
type syslog is obsolete, automatically updating to journal. Please
update your unit file, and consider removing the setting altogether.

/usr/lib/systemd/system/clamav-daemon.service:13: Standard output
type syslog is obsolete, automatically updating to journal. Please
update your unit file, and consider removing the setting altogether.

This commit removes the option for the freshclam and clamd service
files.

Signed-off-by: Sven Rueß <github@sritd.de>
  • Loading branch information
sven-ruess authored and micahsnyder committed Feb 14, 2021
1 parent e4e3149 commit ec87202
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion clamd/clamav-daemon.service.in
Expand Up @@ -10,7 +10,6 @@ ConditionPathExistsGlob=@DBDIR@/daily.{c[vl]d,inc}
ExecStart=@prefix@/sbin/clamd --foreground=true
# Reload the database
ExecReload=/bin/kill -USR2 $MAINPID
StandardOutput=syslog
TimeoutStartSec=420

[Install]
Expand Down
1 change: 0 additions & 1 deletion freshclam/clamav-freshclam.service.in
Expand Up @@ -8,7 +8,6 @@ After=network-online.target

[Service]
ExecStart=@prefix@/bin/freshclam -d --foreground=true
StandardOutput=syslog

[Install]
WantedBy=multi-user.target

0 comments on commit ec87202

Please sign in to comment.