updated launch config and systemd service
This commit is contained in:
parent
863ffb4a36
commit
132b5a47d5
2 changed files with 10 additions and 10 deletions
6
.vscode/launch.json
vendored
6
.vscode/launch.json
vendored
|
@ -14,9 +14,9 @@
|
||||||
"SLIDESHOW_PALETTE": "/tmp/.slideshow.palette",
|
"SLIDESHOW_PALETTE": "/tmp/.slideshow.palette",
|
||||||
"SLIDESHOW_PALETTE_ALGORITHM": "",
|
"SLIDESHOW_PALETTE_ALGORITHM": "",
|
||||||
"SLIDESHOW_PALETTE_COLORS": "",
|
"SLIDESHOW_PALETTE_COLORS": "",
|
||||||
"SLIDESHOW_SCRIPT": "/tmp/cat-palette.sh",
|
"SLIDESHOW_SCRIPT": "",
|
||||||
"SLIDESHOW_SCRIPT_ASYNC": "true",
|
"SLIDESHOW_SCRIPT_ASYNC": "",
|
||||||
"SLIDESHOW_SCRIPT_STAGE": "post_image",
|
"SLIDESHOW_SCRIPT_STAGE": "",
|
||||||
"SLIDESHOW_LOGLEVEL": "debug",
|
"SLIDESHOW_LOGLEVEL": "debug",
|
||||||
},
|
},
|
||||||
"console": "integratedTerminal"
|
"console": "integratedTerminal"
|
||||||
|
|
|
@ -5,16 +5,16 @@ Description=slideshow
|
||||||
Type=simple
|
Type=simple
|
||||||
User=velvettear
|
User=velvettear
|
||||||
Environment="DISPLAY=:0"
|
Environment="DISPLAY=:0"
|
||||||
|
ENVIRONMENT="SLIDESHOW_API=localhost:3000"
|
||||||
Environment="SLIDESHOW_INTERVAL=60"
|
Environment="SLIDESHOW_INTERVAL=60"
|
||||||
Environment="SLIDESHOW_DIRECTORY=$HOME"
|
Environment="SLIDESHOW_RESOLUTION="
|
||||||
Environment="SLIDESHOW_SCANINTERVAL=60"
|
|
||||||
Environment="SLIDESHOW_RESOLUTION=1920x1080"
|
|
||||||
Environment="SLIDESHOW_PALETTE=/tmp/.slideshow.palette"
|
Environment="SLIDESHOW_PALETTE=/tmp/.slideshow.palette"
|
||||||
Environment="SLIDESHOW_PALETTE_ALGORITHM=wsm"
|
Environment="SLIDESHOW_PALETTE_ALGORITHM="
|
||||||
Environment="SLIDESHOW_PALETTE_COLORS=16"
|
Environment="SLIDESHOW_PALETTE_COLORS="
|
||||||
Environment="SLIDESHOW_SCRIPT="
|
Environment="SLIDESHOW_SCRIPT="
|
||||||
Environment="SLIDESHOW_SCRIPT_ASYNC=true"
|
Environment="SLIDESHOW_SCRIPT_ASYNC="
|
||||||
Environment="SLIDESHOW_LOGLEVEL=info"
|
Environment="SLIDESHOW_SCRIPT_STAGE="
|
||||||
|
Environment="SLIDESHOW_LOGLEVEL=debug"
|
||||||
ExecStart=/opt/slideshow/slideshow
|
ExecStart=/opt/slideshow/slideshow
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue