added systemd service
This commit is contained in:
parent
33d6e96d92
commit
0f5e66d60f
1 changed files with 14 additions and 0 deletions
14
slideshow.service
Normal file
14
slideshow.service
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
[Unit]
|
||||||
|
Description=slideshow
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
Environment="DISPLAY=:0"
|
||||||
|
Environment="SLIDESHOW_INTERVAL=60"
|
||||||
|
Environment="SLIDESHOW_DIRECTORY=$HOME"
|
||||||
|
Environment="SLIDESHOW_RESOLUTION=1920x1080"
|
||||||
|
Environment="SLIDESHOW_LOGLEVEL=info"
|
||||||
|
ExecStart=/opt/slideshow/slideshow
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue