diff options
-rw-r--r-- | epd.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/epd.service b/epd.service new file mode 100644 index 0000000..696562b --- /dev/null +++ b/epd.service @@ -0,0 +1,14 @@ +[Unit] +Description=Electrophoretic Display Controller + +[Service] +Type=simple +Environment=PYTHONPATH=/opt/epd/waveshare_epd.whl +ExecStart=/usr/bin/python3 /opt/epd/rotate.py --debug --clear /opt/epd/images/ +WorkingDirectory=/opt/epd +User=epd +Restart=on-failure +KillSignal=SIGINT + +[Install] +WantedBy=multi-user.target |