Add deployment info
parent
3ec3d4c581
commit
32afe1f5b9
|
@ -0,0 +1,14 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Kij na spejsiot
|
||||||
|
Requires=mosquitto.service
|
||||||
|
After=mosquitto.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=soundboard
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/var/soundboard/env/bin/python3 /var/spejsiot/main.py
|
||||||
|
Restart=always
|
||||||
|
RestartSec=10
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue