diff options
Diffstat (limited to 'core/modules/hardware-stats/data/etc/systemd/system/shutdown-usage-log.service')
-rw-r--r-- | core/modules/hardware-stats/data/etc/systemd/system/shutdown-usage-log.service | 4 |
1 files changed, 3 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 e91c6db6..7143a597 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 @@ -2,11 +2,13 @@ Description=Tell server we're shutting down DefaultDependencies=no Before=shutdown.target +Requires=network-online.target After=-.mount network-online.target RefuseManualStart=yes [Service] Type=oneshot -ExecStart=/opt/openslx/scripts/shutdown-system_usage_update +ExecStartPre=/opt/openslx/scripts/shutdown-system_usage_update +ExecStart=/bin/true RemainAfterExit=yes |