slideshow-api/slideshow-api.service

16 lines
369 B
SYSTEMD
Raw Permalink 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_LOGLEVEL=info"
ExecStart=/opt/slideshow-api/slideshow-api
[Install]
WantedBy=multi-user.target