From 52ffb444cbab6fe5680901682f804c051ca624be Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 22 May 2014 07:55:38 +0900 Subject: [PATCH] timesyncd: order after tmpfiles to get a working network monitor --- tmpfiles.d/systemd.conf | 1 + units/systemd-timesyncd.service.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf index 88c6b605f..7efab0e4e 100644 --- a/tmpfiles.d/systemd.conf +++ b/tmpfiles.d/systemd.conf @@ -23,6 +23,7 @@ d /run/systemd/machines 0755 root root - d /run/systemd/shutdown 0755 root root - d /run/systemd/network 0755 root root - d /run/systemd/network/links 0755 root root - +d /run/systemd/network/leases 0755 root root - m /var/log/journal 2755 root systemd-journal - - Z /var/log/journal/%m 2755 root systemd-journal - - diff --git a/units/systemd-timesyncd.service.in b/units/systemd-timesyncd.service.in index ec2871455..af91d6367 100644 --- a/units/systemd-timesyncd.service.in +++ b/units/systemd-timesyncd.service.in @@ -11,7 +11,7 @@ Documentation=man:systemd-timesyncd.service(8) ConditionCapability=CAP_SYS_TIME DefaultDependencies=off RequiresMountsFor=/var/lib/systemd/clock -After=systemd-remount-fs.service +After=systemd-remount-fs.service systemd-tmpfiles-setup.service Before=sysinit.target shutdown.target Conflicts=shutdown.target -- 2.30.2