* Refactored webcamd.service file * Added patcher.sh to update files that require 'sudo' privileges. * NOTE: PLEASE RUN patcher.sh ASAP! * DONT RUN IT DURING A PRINT! Signed-off-by: Stephan Wendel <me@stephanwe.de>
20 lines
487 B
Desktop File
20 lines
487 B
Desktop File
[Unit]
|
|
Description=webcamd - Multi Webcam/Streamer Control Deamon
|
|
After=udev.service network-online.target nss-lookup.target
|
|
Wants=udev.service network-online.target
|
|
Before=nginx.service
|
|
StartLimitBurst=3
|
|
StartLimitIntervalSec=600
|
|
|
|
[Install]
|
|
Alias=crowsnest
|
|
WantedBy=multi-user.target
|
|
|
|
[Service]
|
|
Environment=WEBCAMD_CONFIG=/home/pi/klipper_config/webcam.conf
|
|
Type=Forking
|
|
User=pi
|
|
RemainAfterExit=Yes
|
|
ExecStart= /usr/local/bin/webcamd -c ${WEBCAMD_CONFIG}
|
|
Restart=on-failure
|
|
RestartSec=10 |