Fixes issue with loading config after a service crash. Should also improve startup time. Signed-off-by: Felix Fietkau <[email protected]>
@@ -49,7 +49,7 @@ service_triggers() {
procd_add_reload_trigger udebug
}
-service_started() {
+service_running() {
ubus -t 10 wait_for udebug
[ $? = 0 ] && reload_service
@@ -165,7 +165,7 @@ start_service() {
procd_close_instance
ubus -t 10 wait_for qosify
@@ -43,7 +43,7 @@ start_service() {
ubus -t 10 wait_for bridger
@@ -157,7 +157,7 @@ start_service() {
echo 128 > /proc/sys/net/ipv4/igmp_max_memberships
procd_set_config_changed firewall
@@ -66,7 +66,7 @@ start_service() {
ubus -t 10 wait_for umdns