added systemd service file

This commit is contained in:
Daniel Sommer 2021-04-09 02:05:31 +02:00
parent 901f1809a8
commit f7aac64460

View file

@ -0,0 +1,15 @@
[Unit]
Description=blinky-feed - mode: %i
Requires=blinky.service
After=blinky.service
[Service]
Type=simple
Environment="BLINKY_URL=localhost:3000"
Environment="BLINKY_TYPE=set"
Environment="BLINKY_DURATION=1000"
Environment="BLINKY_MODE=%i"
ExecStart=/opt/blinky/scripts/blinky-feed.sh
[Install]
WantedBy=multi-user.target