diff --git a/slideshow.service b/slideshow.service new file mode 100644 index 0000000..a491868 --- /dev/null +++ b/slideshow.service @@ -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 \ No newline at end of file