name = rsyslog
version = 5.8.6
-release = 1
+release = 4
-groups = Base System/Daemons
+groups = System/Daemons
url = http://www.rsyslog.com/
license = GPLv3+
summary = Enhanced system logging and kernel message trapping daemon.
-DSYSLOGD_PIDNAME=\"syslogd.pid\"
configure_options += \
- --exec-prefix= \
- --libdir=/lib \
--with-systemdsystemunitdir=/lib/systemd/system \
--disable-static \
--disable-testbench \
[ -f "${n}" ] && continue
umask 066 && touch ${n}
done
-
- /bin/systemctl enable rsyslog.service >/dev/null 2>&1 || :
end
script preun
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
end
+ # Disable and stop rsyslog after update, because we use the
+ # journal daemon from systemd from now.
script postup
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
- /bin/systemctl try-restart rsyslog.service >/dev/null 2>&1 || :
+ /bin/systemctl disable rsyslog.service >/dev/null 2>&1 || :
+ /bin/systemctl stop rsyslog.service >/dev/null 2>&1 || :
end
end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
end