UNVR-NAS/overlay/filesystem/etc/systemd/system/ulcmd-shutdown-hook.service
Chris Blake 27713ab79e fix: tune reboot timeout on panic, improve shutdown ulcmd support
* Ensure we have all the right targets for ulcmd-shutdown-hook to show the shutdown message
* Move to an init script that we can use for setup commands, like adjusting our kernel panic timeout.
2024-05-27 13:07:51 -05:00

11 lines
266 B
Desktop File

[Unit]
Description=ulcmd shutdown hook
DefaultDependencies=no
Before=shutdown.target halt.target poweroff.target
[Service]
ExecStart=/usr/bin/ulcmd --sender system-hook --command poweroff
Type=oneshot
[Install]
WantedBy=shutdown.target halt.target poweroff.target