summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats
diff options
context:
space:
mode:
authorSimon Rettberg2019-02-08 16:07:40 +0100
committerSimon Rettberg2019-02-08 16:07:40 +0100
commit253a80e34d2a8b36740de49334d18c95c4fb3150 (patch)
tree2b2783ffb583c686ec6d7f1b863b12807ef94721 /core/modules/hardware-stats
parent[dnbd3] Bump version (diff)
downloadmltk-253a80e34d2a8b36740de49334d18c95c4fb3150.tar.gz
mltk-253a80e34d2a8b36740de49334d18c95c4fb3150.tar.xz
mltk-253a80e34d2a8b36740de49334d18c95c4fb3150.zip
[hardware-stats] Try to make shutdown hook run earlier
Diffstat (limited to 'core/modules/hardware-stats')
-rw-r--r--core/modules/hardware-stats/data/etc/systemd/system/shutdown-usage-log.service3
1 files changed, 2 insertions, 1 deletions
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]