From 0f5e66d60f8c7ebec1a74b570106e45508eb7c90 Mon Sep 17 00:00:00 2001 From: velvettear Date: Thu, 16 Nov 2023 16:58:52 +0100 Subject: [PATCH] added systemd service --- slideshow.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 slideshow.service 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