debug shared_buffer stream
This commit is contained in:
33
service/vizionstreamer.service
Normal file
33
service/vizionstreamer.service
Normal file
@@ -0,0 +1,33 @@
|
||||
[Unit]
|
||||
Description=VizionStreamer Camera Service with Watchdog
|
||||
After=network.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=maik
|
||||
Group=maik
|
||||
WorkingDirectory=/home/maik/CLionProjects/vizionStreamer
|
||||
ExecStart=/home/maik/CLionProjects/vizionStreamer/service/watchdog.sh
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
|
||||
# Environment
|
||||
Environment="PATH=/usr/local/bin:/usr/bin:/bin"
|
||||
|
||||
# Logging
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=vizionstreamer
|
||||
|
||||
# Security settings (optional, kann bei Problemen auskommentiert werden)
|
||||
# NoNewPrivileges=true
|
||||
# PrivateTmp=true
|
||||
|
||||
# Graceful shutdown
|
||||
TimeoutStopSec=30
|
||||
KillMode=mixed
|
||||
KillSignal=SIGTERM
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user