mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
minidlna: fix issues
Removed cover resizing patch. It doesn't work right. Removed SIGHUP reload. While minidlna handles it, it needs work to function properly. Removed service_triggers. They don't work for similar reasons as above. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -45,7 +45,6 @@ minidlna_create_config() {
|
||||
{ [ -z "$interface" ] || [ -t "$port" ]; } && return 1
|
||||
|
||||
mkdir -p /var/etc
|
||||
{
|
||||
echo "# this file is generated automatically, don't edit"
|
||||
|
||||
echo "port=$port"
|
||||
@@ -68,10 +67,10 @@ minidlna_create_config() {
|
||||
minidlna_cfg_addstr "$cfg" root_container '.'
|
||||
minidlna_cfg_addstr "$cfg" uuid '019f9a56-ff60-44c0-9edc-eae88d09fa05'
|
||||
config_list_foreach "$cfg" "media_dir" minidlna_cfg_add_media_dir
|
||||
} > "$MINIDLNA_CONFIG_FILE"
|
||||
}
|
||||
|
||||
return 0
|
||||
}
|
||||
} > "$MINIDLNA_CONFIG_FILE"
|
||||
|
||||
start_service() {
|
||||
local enabled
|
||||
@@ -105,11 +104,3 @@ start_service() {
|
||||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
reload_service() {
|
||||
procd_send_signal "$PROG"
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
procd_add_reload_trigger "minidlna"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user