Author: baggins                      Date: Sat Apr 21 11:40:49 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add systemd target to start per-interface daemons

---- Files affected:
packages/dhcp_probe:
   dhcp_probe.spec (1.4 -> 1.5) , dhcp_probe.target (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/dhcp_probe/dhcp_probe.spec
diff -u packages/dhcp_probe/dhcp_probe.spec:1.4 
packages/dhcp_probe/dhcp_probe.spec:1.5
--- packages/dhcp_probe/dhcp_probe.spec:1.4     Sat Apr 21 13:38:39 2012
+++ packages/dhcp_probe/dhcp_probe.spec Sat Apr 21 13:40:44 2012
@@ -9,8 +9,9 @@
 # Source0-md5: 8067e696fbd88120bdcc2ffef4b64da2
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
-Source3:       [email protected]
-Source4:       dhcp_probe-service-generator
+Source3:       dhcp_probe.target
+Source4:       [email protected]
+Source5:       dhcp_probe-service-generator
 Patch0:                dhcp_probe-guignard-03_implicit_point_conv_bootp.c.patch
 Patch1:                dhcp_probe-guignard-04_linux_32_or_64bits.patch
 Patch2:                dhcp_probe-virta-01-pcap-loop.patch
@@ -60,9 +61,10 @@
 install -p extras/dhcp_probe.cf.sample 
$RPM_BUILD_ROOT%{_sysconfdir}/dhcp_probe.cf
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dhcp_probe
 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/dhcp_probe
-install -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/[email protected]
+install -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/dhcp_probe.target
+install -p %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/[email protected]
 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/dhcp_probe.service
-install -p %{SOURCE4} 
$RPM_BUILD_ROOT/lib/systemd/system-generators/dhcp_probe-service-generator
+install -p %{SOURCE5} 
$RPM_BUILD_ROOT/lib/systemd/system-generators/dhcp_probe-service-generator
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -92,6 +94,7 @@
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dhcp_probe
 %attr(755,root,root) 
/lib/systemd/system-generators/dhcp_probe-service-generator
 %{systemdunitdir}/%{name}.service
+%{systemdunitdir}/%{name}.target
 %{systemdunitdir}/%{name}@.service
 %{_mandir}/man5/dhcp_probe.cf.5*
 %{_mandir}/man8/dhcp_probe.8*
@@ -102,6 +105,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2012/04/21 11:40:44  baggins
+- add systemd target to start per-interface daemons
+
 Revision 1.4  2012/04/21 11:38:39  baggins
 - full blown systemd support with per-interface service generator
 

================================================================
Index: packages/dhcp_probe/dhcp_probe.target
diff -u /dev/null packages/dhcp_probe/dhcp_probe.target:1.1
--- /dev/null   Sat Apr 21 13:40:49 2012
+++ packages/dhcp_probe/dhcp_probe.target       Sat Apr 21 13:40:44 2012
@@ -0,0 +1,7 @@
+[Unit]
+Description=Start dhcp_probe daemons
+After=network.target
+Wants=network.target
+
+[Install]
+WantedBy=multi-user.target
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/dhcp_probe/dhcp_probe.spec?r1=1.4&r2=1.5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to