Hello community,

here is the log from the commit of package mcelog for openSUSE:Factory checked 
in at 2011-11-25 11:12:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mcelog (Old)
 and      /work/SRC/openSUSE:Factory/.mcelog.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mcelog", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes    2011-09-23 
02:12:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes       2011-11-25 
10:12:52.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Nov 23 21:36:36 UTC 2011 - [email protected]
+
+- Add systemd unit. 
+
+-------------------------------------------------------------------

New:
----
  mcelog.systemd

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mcelog.spec ++++++
--- /var/tmp/diff_new_pack.NZ02Ti/_old  2011-11-25 10:12:53.000000000 +0100
+++ /var/tmp/diff_new_pack.NZ02Ti/_new  2011-11-25 10:12:53.000000000 +0100
@@ -31,6 +31,7 @@
 Source:         mcelog-%{version}.tar.bz2
 Source1:        mcelog.service
 Source2:        mcelog.sysconfig
+Source3:        mcelog.systemd
 Source6:        README.email_setup
 Patch1:         email.patch
 Patch2:         mcelog_invert_prefill_db_warning.patch
@@ -78,6 +79,7 @@
 mkdir -p $RPM_BUILD_ROOT/%_docdir/%name
 install -m 644 %SOURCE6 $RPM_BUILD_ROOT/%_docdir/%name/README.email_setup
 install -m 644 lk10-mcelog.pdf $RPM_BUILD_ROOT/%_docdir/%name/lk10-mcelog.pdf
+install -D -m 0644 %SOURCE3 %{buildroot}/lib/systemd/system/mcelog.service
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -96,6 +98,7 @@
 
 %files
 %defattr (-,root,root,755)
+/lib/systemd/system/mcelog.service
 %{_mandir}/man8/*
 /usr/sbin/mcelog
 %config /etc/logrotate.d/mcelog

++++++ mcelog.systemd ++++++
[Unit]
Description=Machine Check Exception Logging Daemon
After=syslog.target
ConditionVirtualization=false
ConditionPathExists=/dev/mcelog

[Service]
EnvironmentFile=-/etc/sysconfig/mcelog
#warning: if this fails is due to a known kernel bug, fix that instead !
ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground --email 
$MCELOG_ADMIN_EMAIL
StandardOutput=syslog

[Install]
WantedBy=multi-user.target
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to