From 4caa68ada8b1e91adc6c9cf1fe80815f46fbf29c Mon Sep 17 00:00:00 2001 From: Michal Ruprich Date: Jan 02 2019 10:28:43 +0000 Subject: Fix for rhbz#1586346 - rsyncd.service fails to start at boot if address is configured --- diff --git a/rsync.spec b/rsync.spec index 4da2cb1..9f69015 100644 --- a/rsync.spec +++ b/rsync.spec @@ -9,7 +9,7 @@ Summary: A program for synchronizing files over a network Name: rsync Version: 3.1.3 -Release: 3%{?dist} +Release: 4%{?dist} Group: Applications/Internet URL: http://rsync.samba.org/ @@ -115,6 +115,9 @@ install -D -m644 %{SOURCE6} $RPM_BUILD_ROOT/%{_unitdir}/rsyncd@.service %systemd_postun_with_restart rsyncd.service %changelog +* Wed Jan 02 2019 Michal Ruprich - 3.1.3-4 +- Fix for rhbz#1586346 - rsyncd.service fails to start at boot if address is configured + * Fri Feb 09 2018 Igor Gnatenko - 3.1.3-3 - Escape macros in %%changelog diff --git a/rsyncd.service b/rsyncd.service index 3ffecce..d2d6362 100644 --- a/rsyncd.service +++ b/rsyncd.service @@ -1,6 +1,8 @@ [Unit] Description=fast remote file copy program daemon ConditionPathExists=/etc/rsyncd.conf +Wants=network-online.target +After=network-online.target [Service] EnvironmentFile=/etc/sysconfig/rsyncd