mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
ser2net: fix rpcd reload
ser2net did not get restarted after saving in uci or luci Signed-off-by: Michele Primavera <primavera@elmod.it>
This commit is contained in:
@@ -182,5 +182,11 @@ start_service() {
|
||||
|
||||
procd_open_instance
|
||||
procd_set_param command "$PROG" -n -c "$DYNAMICCFGFILE"
|
||||
procd_set_param file "$DYNAMICCFGFILE"
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
procd_add_reload_trigger "ser2net"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user