gluon-respondd: restart instead of reload - fixes #2733

respondd has to handle interface changes for re-listening

respondd was being sent sighup by procd previously,
but didn't handle it

The easiest way is to just restart respondd to make it re-listen,
since it does not carry any important state
This commit is contained in:
Maciej Krüger 2022-12-20 18:00:06 +01:00
parent b6e98169fd
commit 9ab012d5a3
No known key found for this signature in database
GPG Key ID: 0D948CE19CF49C5F

View File

@ -24,6 +24,6 @@ service_triggers() {
local name=$(basename ${script:-$initscript})
procd_open_trigger
procd_add_raw_trigger "interface.*" 0 "/etc/init.d/$name" reload
procd_add_raw_trigger "interface.*" 0 "/etc/init.d/$name" restart
procd_close_trigger
}