mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
gerbera: update to 1.5.0
This is a fairly massive update that adds new dependencies. Switched the CMAKE_OPTIONS to use ON/OFF as is done elsewhere. Added a patch fixing compilation with libiconv-stub/full. Add a small debug option to write to syslog debug information. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -7,10 +7,12 @@ PROG=/usr/bin/gerbera
|
||||
|
||||
start_service() {
|
||||
local enabled
|
||||
local debug
|
||||
local home
|
||||
|
||||
config_load 'gerbera'
|
||||
config_get_bool enabled config 'enabled' '0'
|
||||
config_get_bool debug config 'debug' '0'
|
||||
|
||||
[ "$enabled" -eq 0 ] && {
|
||||
echo "Gerbera not enabled. Please enable in /etc/config/gerbera"
|
||||
@@ -33,6 +35,7 @@ start_service() {
|
||||
procd_set_param user gerbera
|
||||
procd_set_param group gerbera
|
||||
procd_set_param command "$PROG" -c "$home/config.xml"
|
||||
procd_set_param stdout "$debug"
|
||||
procd_set_param stderr 1
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user