added systemd service

This commit is contained in:
Daniel Sommer 2023-11-16 16:58:52 +01:00
parent 33d6e96d92
commit 0f5e66d60f

14
slideshow.service Normal file
View file

@ -0,0 +1,14 @@
[Unit]
Description=slideshow
[Service]
Type=simple
Environment="DISPLAY=:0"
Environment="SLIDESHOW_INTERVAL=60"
Environment="SLIDESHOW_DIRECTORY=$HOME"
Environment="SLIDESHOW_RESOLUTION=1920x1080"
Environment="SLIDESHOW_LOGLEVEL=info"
ExecStart=/opt/slideshow/slideshow
[Install]
WantedBy=multi-user.target