Last active
September 16, 2019 08:50
-
-
Save melissacoleman/19f1bbf112e15e6e4201fda55d9c85db to your computer and use it in GitHub Desktop.
Service for showing image on starting shutdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=show image on starting shutdown | |
DefaultDependencies=no | |
Before=halt.target | |
[Service] | |
ExecStart=/usr/bin/python3 /path/to/framebuffer-pythonscript.py -img /path/to/powerdownimage.jpg | |
Type=oneshot | |
[Install] | |
WantedBy=halt.target poweroff.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment