slideshow-api/slideshow-api.service
2023-11-28 15:52:53 +01:00

19 lines
No EOL
493 B
Desktop File

[Unit]
Description=slideshow-api
[Service]
Type=simple
User=velvettear
Environment="DISPLAY=:0"
Environment="SLIDESHOW_ADDRESS=0.0.0.0"
Environment="SLIDESHOW_PORT=3000"
Environment="SLIDESHOW_DIRECTORY=$HOME"
Environment="SLIDESHOW_SCANINTERVAL=60"
Environment="SLIDESHOW_RESOLUTION="
Environment="SLIDESHOW_PALETTE_ALGORITHM=wsm"
Environment="SLIDESHOW_PALETTE_COLORS=16"
Environment="SLIDESHOW_LOGLEVEL=info"
ExecStart=/opt/slideshow-api/slideshow-api
[Install]
WantedBy=multi-user.target