Skip to content

Instantly share code, notes, and snippets.

@acwright
Created May 6, 2021 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acwright/8e8f38b47734758b56cfafa3daf62ab4 to your computer and use it in GitHub Desktop.
Save acwright/8e8f38b47734758b56cfafa3daf62ab4 to your computer and use it in GitHub Desktop.
Matrix Service
[Unit]
Description=Matrix
After=multi-user.target
[Service]
Type=simple
ExecStart=/bin/sh -c '/usr/bin/sudo /home/pi/rpi-rgb-led-matrix/utils/led-image-viewer -f -s -w5 /home/pi/images/*.jpeg /home/pi/images/*.jpg /home /home/pi/images/*.png /home/pi/images/*.gif --led-gpio-mapping=adafruit-hat-pwm --led-cols=64 --led-rows=64'
User=pi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment