slideshow-api/slideshow-api.service

19 lines
493 B
SYSTEMD
Raw Normal View History

2023-11-28 15:52:53 +01:00
[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