Created
March 11, 2025 11:12
-
-
Save sonpython/208c75f5258edec6c0325a09b39adaf2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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=yahboom_oled start service | |
After=multi-user.target | |
[Service] | |
Type=idle | |
User=michaelphan | |
ExecStart=/bin/sh -c "/home/michaelphan/cubipi/.env/bin/python3 /home/michaelphan/cubipi/oled.py" | |
WorkingDirectory=/home/michaelphan | |
ExecStopPost=/bin/sh -c "/home/michaelphan/cubipi/.env/bin/python3 /home/michaelphan/cubipi/oled.py clear" | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment