[apcupsd/f16] start after network is up (#789191)

Michal Hlavinka mhlavink at fedoraproject.org
Tue Feb 14 10:41:30 UTC 2012


commit bb28606ccbdf2e156ae44cf46ea7cad47186a117
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Tue Feb 14 11:41:27 2012 +0100

    start after network is up (#789191)

 apcupsd-3.14.8-systemd.patch |    3 ++-
 apcupsd.spec                 |    5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/apcupsd-3.14.8-systemd.patch b/apcupsd-3.14.8-systemd.patch
index b89da36..b0a24cb 100644
--- a/apcupsd-3.14.8-systemd.patch
+++ b/apcupsd-3.14.8-systemd.patch
@@ -1,10 +1,11 @@
 diff -up apcupsd-3.14.8/apcupsd.service.systemd apcupsd-3.14.8/apcupsd.service
 --- apcupsd-3.14.8/apcupsd.service.systemd	2011-06-16 10:33:02.335889489 +0200
 +++ apcupsd-3.14.8/apcupsd.service	2011-06-16 09:59:02.616138047 +0200
-@@ -0,0 +1,10 @@
+@@ -0,0 +1,11 @@
 +[Unit]
 +Description=APC UPS Power Control Daemon for Linux
 +After=syslog.target
++After=network.target
 +
 +[Service]
 +ExecStartPre=-/bin/rm -f /etc/apcupsd/powerfail
diff --git a/apcupsd.spec b/apcupsd.spec
index 0c1a26e..a1e91c1 100644
--- a/apcupsd.spec
+++ b/apcupsd.spec
@@ -1,6 +1,6 @@
 Name:         apcupsd
 Version:      3.14.10
-Release:      2%{?dist}
+Release:      3%{?dist}
 Summary:      APC UPS Power Control Daemon for Linux
 
 Group:        System Environment/Daemons
@@ -211,6 +211,9 @@ fi
 
 
 %changelog
+* Tue Feb 14 2012 Michal Hlavinka <mhlavink at redhat.com> - 3.14.10-3
+- start after network is up (#789191)
+
 * Mon Dec 19 2011 Michal Hlavinka <mhlavink at redhat.com> - 3.14.10-2
 - remove powerfail flag on boot (#768684)
 


More information about the scm-commits mailing list