Running wifi with global socket based wpa_supplicant

My supplicant is running in global socket mode and my /etc/config/wireless is having station mode interface, my wifi stops working when supplicant crashes or killed because it need to add interface into supplicant after supplicant started by procd.

Here mac80211.sh is not starting the supplicant per interface it just adds interface into wpa_supplicant using
/usr/sbin/wpa_cli -g /var/run/wpa_supplicantglobal interface_add wlan0 /var/run/wpa_supplicant-wlan0.conf nl80211 /var/run/wpa_supplicant-wlan0

is there support in procd to execute some command provided in start script after starting the service ?

doubt this is needed... try a little harder to determine the root cause/issue...

By tweaking init script got it woking for deployment. will check further on code for actual issue.