diff options
author | Matt Singleton <matt@xcolour.net> | 2024-02-04 13:40:26 -0600 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2024-02-04 13:40:26 -0600 |
commit | c26a684e3677afa51e3beed5300c3298432f37ef (patch) | |
tree | 3e61776ddbf72f95c9ca38a29cc9ccce21313106 /epd.service | |
parent | bc7d47c1911aff00c1dff49368b2f4ecb5fe4355 (diff) |
Diffstat (limited to 'epd.service')
-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 |