updated launch config and systemd service

This commit is contained in:
Daniel Sommer 2023-11-30 16:08:54 +01:00
parent 863ffb4a36
commit 132b5a47d5
2 changed files with 10 additions and 10 deletions

6
.vscode/launch.json vendored
View file

@ -14,9 +14,9 @@
"SLIDESHOW_PALETTE": "/tmp/.slideshow.palette",
"SLIDESHOW_PALETTE_ALGORITHM": "",
"SLIDESHOW_PALETTE_COLORS": "",
"SLIDESHOW_SCRIPT": "/tmp/cat-palette.sh",
"SLIDESHOW_SCRIPT_ASYNC": "true",
"SLIDESHOW_SCRIPT_STAGE": "post_image",
"SLIDESHOW_SCRIPT": "",
"SLIDESHOW_SCRIPT_ASYNC": "",
"SLIDESHOW_SCRIPT_STAGE": "",
"SLIDESHOW_LOGLEVEL": "debug",
},
"console": "integratedTerminal"

View file

@ -5,16 +5,16 @@ Description=slideshow
Type=simple
User=velvettear
Environment="DISPLAY=:0"
ENVIRONMENT="SLIDESHOW_API=localhost:3000"
Environment="SLIDESHOW_INTERVAL=60"
Environment="SLIDESHOW_DIRECTORY=$HOME"
Environment="SLIDESHOW_SCANINTERVAL=60"
Environment="SLIDESHOW_RESOLUTION=1920x1080"
Environment="SLIDESHOW_RESOLUTION="
Environment="SLIDESHOW_PALETTE=/tmp/.slideshow.palette"
Environment="SLIDESHOW_PALETTE_ALGORITHM=wsm"
Environment="SLIDESHOW_PALETTE_COLORS=16"
Environment="SLIDESHOW_PALETTE_ALGORITHM="
Environment="SLIDESHOW_PALETTE_COLORS="
Environment="SLIDESHOW_SCRIPT="
Environment="SLIDESHOW_SCRIPT_ASYNC=true"
Environment="SLIDESHOW_LOGLEVEL=info"
Environment="SLIDESHOW_SCRIPT_ASYNC="
Environment="SLIDESHOW_SCRIPT_STAGE="
Environment="SLIDESHOW_LOGLEVEL=debug"
ExecStart=/opt/slideshow/slideshow
[Install]