mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-05 08:42:11 +01:00
17 lines
311 B
Bash
17 lines
311 B
Bash
#!/sbin/openrc-run
|
|
|
|
name="go2rtc"
|
|
description="Camera streaming application"
|
|
command="/usr/bin/go2rtc"
|
|
command_args="-config /etc/go2rtc/go2rtc.yaml"
|
|
command_background=true
|
|
pidfile="/run/$RC_SVCNAME.pid"
|
|
|
|
output_log="/var/log/go2rtc.log"
|
|
error_log="/var/log/go2rtc.log"
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|