summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/data/etc/systemd/system/stats-shutdown.service
blob: 0f97a0bbf7a9f6d48f3cc5309820407f852859b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Send shutdown event to boot server
# Try this as a dedicated service in addition to the ExecStop=
# entry in the gather-hw-info.service, as that one sometimes
# doesn't trigger/reach the server :-(
Wants=network.target
Before=shutdown.target
After=network.target

[Service]
Type=oneshot
ExecStart=/opt/openslx/scripts/shutdown-system_usage_update