Mailinglist Archive: yast-devel (57 mails)

< Previous Next >
Re: [yast-devel] systemcd service status

Thanks for the information.

On SLES12, Service.Status, Service.Start and other api's will work correctly as
long as the service name is maintained as it is.

Josef Reidinger <jreidinger@xxxxxxx> 11/22/16 9:48 PM >>>
On Tue, 22 Nov 2016 04:51:58 -0700
"Suresh K Hosamani" <SureshK.Hosamani@xxxxxxxxxxxxxx> wrote:


Like in SLES11, for checking /starting / stopping service
(Service::Status(service), Service::Start and Service::Stop), are
there any similar funtions to check systemd status/stop/ start on
SLES12. Regards, Suresh

Hi Surresh,

I would like to point you to this module:

it have some decend documentation. If you would like to use more OO
approach, you can use methods in systemd which is also well documented:

If you have any questions in for this module, ask here again. We try to
answer and also improve documentation.

To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation