pmaports/main/postmarketos-bootsplash/shutdown-splash.service
Caleb Connolly 9c9e47b059
main/postmarketos-bootsplash: systemd support (MR 5181)
Install a kill-pbsplash systemd service which is configured to be
started as part of the graphical-session user target. Additionally
install an override so that if the display-manager service (aliases to
gdm, sddm, etc) fails to start it will still kill pbsplash.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-06-24 16:00:27 -07:00

11 lines
302 B
Desktop File

[Unit]
Description=Displays shutdown splash
DefaultDependencies=no
Before=halt.target shutdown.target reboot.target
[Service]
RemainAfterExit=yes
ExecStart=-/usr/bin/pbsplash -s /usr/share/pbsplash/pmos-logo-text.svg -b "Shutting down..."
[Install]
WantedBy=halt.target shutdown.target reboot.target