Accepting request 147808 from home:mtomaschewski:branches:Base:System
- Enable syslogd.service and create the syslog.service alias link in post install -- regardless of a preset config (bnc#790805). OBS-URL: https://build.opensuse.org/request/show/147808 OBS-URL: https://build.opensuse.org/package/show/Base:System/syslogd?expand=0&rev=98
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 9 14:05:53 UTC 2013 - mt@suse.com
|
||||
|
||||
- Enable syslogd.service and create the syslog.service alias link
|
||||
in post install -- regardless of a preset config (bnc#790805).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 5 22:31:09 UTC 2013 - opensuse@cboltz.de
|
||||
|
||||
|
@@ -242,7 +242,13 @@ chown news:news var/log/news/news.notice
|
||||
#
|
||||
# Enable the syslogd as service
|
||||
#
|
||||
# This macro enables based on a systemctl preset config file only
|
||||
%service_add_post syslogd.service
|
||||
# But we want to enable a syslog-daemon regardless of the preset;
|
||||
# force the creation of a syslog.service alias link (bnc#790805).
|
||||
# We do not check the obsolete SYSLOG_DAEMON variable as we want
|
||||
# to switch when installing it and there is a provider conflict.
|
||||
/usr/bin/systemctl -f enable syslogd.service >/dev/null 2>&1 || :
|
||||
|
||||
%preun
|
||||
%service_del_preun syslogd.service
|
||||
|
Reference in New Issue
Block a user