Start service independently on network state

This commit is contained in:
Petr Písař 2012-05-23 09:58:14 +02:00
parent 2cea95d3e9
commit 87fbf047f5
2 changed files with 5 additions and 3 deletions

View File

@ -1,12 +1,10 @@
[Unit]
Description=Router advertisement daemon for IPv6
Requires=network.target
After=network.target
[Service]
EnvironmentFile=/etc/sysconfig/radvd
ExecStart=/usr/sbin/radvd $OPTIONS
StandardOutput=syslog
Type=forking
PIDFile=/var/run/radvd/radvd.pid

View File

@ -1,7 +1,7 @@
Summary: A Router Advertisement daemon
Name: radvd
Version: 1.8.5
Release: 3%{?dist}
Release: 4%{?dist}
# The code includes the advertising clause, so it's GPL-incompatible
License: BSD with advertising
Group: System Environment/Daemons
@ -112,6 +112,10 @@ exit 0
%{_sbindir}/radvdump
%changelog
* Wed May 23 2012 Petr Pisar <ppisar@redhat.com> - 1.8.5-4
- Start service independently on network state (bug #824205)
- Do not force systemd logging to syslog (bug #824205)
* Thu Apr 12 2012 Petr Pisar <ppisar@redhat.com> - 1.8.5-3
- Store PID before daemonizing (bug #811997)