[PATCH v2] procd: add info json output
    Petr Štetiar 
    ynezz at true.cz
       
    Mon Dec 14 08:02:20 EST 2020
    
    
  
Florian Eckert <fe at dev.tdt.de> [2020-12-14 13:56:03]:
Hi,
> By adding the extra command `info` it is now possible to retrieve all
> relevant data from a procd started service directly via the init script.
whats the use case, how is this useful?
> Until now, you have to query the ubus with the command:
> ubus call service list '{"name":"<xxx>","verbose":true}'
> 
> With this change, the init script is now used with the command:
> /etc/init.d/<xxx> info
I find the `info` name ambiguous and misleading.
Cheers,
Petr
    
    
More information about the openwrt-devel
mailing list