UNVR-NAS/overlay/filesystem/etc/systemd/system/ulcmd-shutdown-hook.service
Chris Blake a4f7f862c2 fix: improvements all around
* add our own fan controller, will need more tuning with time, but it's a great start
* add restart/shutdown hooks for ulcmd, so the display shows the state of the system
* change how we expose unifi's libs to binaries
* Fixup systemd hang at boot due to networking
* move ubnthal to systemd task, since we don't load modules due to the unifi initramfs in the prebuilt kernel
2024-05-22 11:42:34 -05:00

11 lines
234 B
Desktop File

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