Unit für den Werkstatt-Server
This commit is contained in:
parent
7fbee99978
commit
69914c6545
9
foobaz-shop.service
Normal file
9
foobaz-shop.service
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Foobaz DMX
|
||||
|
||||
[Service]
|
||||
ExecStart=/home/pi/foobazdmx/foobaz-shop.sh
|
||||
User=pi
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
5
foobaz-shop.sh
Executable file
5
foobaz-shop.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
here=$(cd $(dirname $0); pwd)
|
||||
cd $here
|
||||
exec poetry run python foobaz.py -a 127.0.0.1 -r shop
|
Loading…
Reference in a new issue