50d583a507
- Don't daemonize freshclam, but use a systemd timer instead to trigger updates + timer.freshclam % service.freshclam % clamav-conf.patch - Remove obsolete patch (replaced by SOURCE_DATE_EPOCH) - clamav-disable-timestamps.patch - Cleanup spec * use pkgconfig() to resolve BuildRequires where upstream uses it * rework creating vscan user (new system-user in Tumbleweed) * remove obsolete configure option --disable-zlib-vcheck OBS-URL: https://build.opensuse.org/request/show/871162 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=218
12 lines
208 B
Plaintext
12 lines
208 B
Plaintext
[Unit]
|
|
Description=Freshclam virus definitions downloader
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/freshclam
|
|
;User=vscan
|
|
;Group=vscan
|
|
;PrivateTmp=yes
|