From 83ddacc5d6ef3adadf53ebf50fd0ca3d6dd37e57 Mon Sep 17 00:00:00 2001 From: Michal Ruprich Date: Wed, 2 Jan 2019 11:31:04 +0100 Subject: [PATCH] Fix for rhbz#1586346 - rsyncd.service fails to start at boot if address is configured --- rsync.spec | 5 ++++- rsyncd.service | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/rsync.spec b/rsync.spec index 55a26c0..2a67736 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: 4%{?dist} +Release: 5%{?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-5 +- Fix for rhbz#1586346 - rsyncd.service fails to start at boot if address is configured + * Sat Jul 14 2018 Fedora Release Engineering - 3.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild 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