added systemd service file
This commit is contained in:
parent
901f1809a8
commit
f7aac64460
1 changed files with 15 additions and 0 deletions
15
scripts/blinky-feed@.service
Normal file
15
scripts/blinky-feed@.service
Normal 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
|
Loading…
Reference in a new issue