systemd-Service für den Relay hinzugefügt
This commit is contained in:
1 parent
dadfea5f72
commit
aa3f3d78bc
2 files changed
+32
No files matched your search
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Webcam MJPEG Relay
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=joachim
|
||||
WorkingDirectory=/home/joachim/git/webcam
|
||||
ExecStart=/usr/bin/python3 /home/joachim/git/webcam/relay.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user