Mailinglist Archive: yast-devel (246 mails)

< Previous Next >
Re: [yast-devel] Re: about the services module direction
  • From: Jiří Suchomel <jsuchome@xxxxxxx>
  • Date: Thu, 20 Aug 2009 16:10:55 +0200
  • Message-id: <200908201610.55905.jsuchome@xxxxxxx>
On Tuesday 18 of August 2009 15:05:26 Jiří Suchomel wrote:
SERVICES::Get (string name) - get the status of given service (if name
does not exist under /etc/init.d/, it is searched in

I'd propose to merge 'Read' and 'Get'. The service resource (at the
REST layer) should decribe the service and its state.


Well, maybe not.

Because it would take too much time if not only list, but also status were
requested for all current /etc/init.d services. It is also seen in YaST
runlevel module: first it reads (and shows) the list of services, than it
queries for each service status and updates the list with each arriving
result. In web UI, we could do it with AJAX calls.


Jiri Suchomel

SUSE LINUX, s.r.o. e-mail: jsuchome@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Praha 9, Czech Republic
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups