|
@ -37,6 +37,11 @@ config_cb() { |
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
service_triggers() |
|
|
|
|
|
{ |
|
|
|
|
|
procd_add_reload_trigger "$NAME" |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
start_service() { |
|
|
start_service() { |
|
|
local init_cfg=" " |
|
|
local init_cfg=" " |
|
|
local conf_file="/var/etc/$NAME.ini" |
|
|
local conf_file="/var/etc/$NAME.ini" |
|
@ -72,3 +77,8 @@ start_service() { |
|
|
[ -n "$env" ] && config_list_foreach "$init_cfg" env "procd_append_param env" |
|
|
[ -n "$env" ] && config_list_foreach "$init_cfg" env "procd_append_param env" |
|
|
procd_close_instance |
|
|
procd_close_instance |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
reload_service() { |
|
|
|
|
|
stop |
|
|
|
|
|
start |
|
|
|
|
|
} |