slideshow-api/slideshow-api.service

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