Includes: * refactor of install.sh, splitting it to libs * fix of custompios module according to install changes * added test script to verify install * refactor of `make config` script Signed-off-by: Stephan Wendel <me@stephanwe.de> Signed-off-by: Stephan Wendel <me@stephanwe.de>
31 lines
796 B
Desktop File
31 lines
796 B
Desktop File
#### crowsnest - A webcam Service for multiple Cams and Stream Services.
|
|
####
|
|
#### Written by Stephan Wendel aka KwadFan <me@stephanwe.de>
|
|
#### Copyright 2021 - 2022
|
|
#### https://github.com/mainsail-crew/crowsnest
|
|
####
|
|
#### This File is distributed under GPLv3
|
|
####
|
|
|
|
[Unit]
|
|
Description=crowsnest - Multi Webcam/Streamer Control Deamon
|
|
Documentation=https://github.com/mainsail-crew/crowsnest
|
|
After=udev.service network-online.target nss-lookup.target
|
|
Wants=udev.service network-online.target
|
|
Before=nginx.service
|
|
StartLimitBurst=10
|
|
StartLimitIntervalSec=180
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=%USER%
|
|
RemainAfterExit=Yes
|
|
WorkingDirectory=/home/%USER%/crowsnest
|
|
EnvironmentFile=%ENV%
|
|
ExecStart=/usr/local/bin/crowsnest $CROWSNEST_ARGS
|
|
Restart=on-failure
|
|
RestartSec=5
|