From 253a80e34d2a8b36740de49334d18c95c4fb3150 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 8 Feb 2019 16:07:40 +0100 Subject: [hardware-stats] Try to make shutdown hook run earlier --- .../hardware-stats/data/etc/systemd/system/shutdown-usage-log.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/modules/hardware-stats/data/etc') diff --git a/core/modules/hardware-stats/data/etc/systemd/system/shutdown-usage-log.service b/core/modules/hardware-stats/data/etc/systemd/system/shutdown-usage-log.service index ef51e6f2..e91c6db6 100644 --- a/core/modules/hardware-stats/data/etc/systemd/system/shutdown-usage-log.service +++ b/core/modules/hardware-stats/data/etc/systemd/system/shutdown-usage-log.service @@ -1,7 +1,8 @@ [Unit] -Description=Tell server we're shuttong down +Description=Tell server we're shutting down DefaultDependencies=no Before=shutdown.target +After=-.mount network-online.target RefuseManualStart=yes [Service] -- cgit v1.2.3-55-g7522