# Services Manipulation

This is a set of basic routines for manipulating services.

Authors: Martin Vidner <mvidner@suse.cz>, Michal Svec <msvec@suse.cz>.

## Modules

The module Service is for manipulating services (/etc/init.d).

## Functions

The function names should be self-descriptive, so there are no comments here. Feel free to ask if you are in doubts.

### Service Manipulation

- boolean Start(string service);
- boolean Stop(string service);
- boolean Restart(string service);
- boolean Reload(string service);

### Service Enabling

- boolean Enable(string service);
- boolean Disable(string service);

- boolean Adjust(string service);
- boolean Finetune(string service);

### Service Information

- boolean Info(string service);
- boolean FullInfo(string service);

- boolean Status(string service);

- boolean Enabled(string service);

### Init Script Actions

- boolean RunInitScript(string service, string param);
- boolean RunInitScriptOutput(string service, string param);

### Error (not available in all cases)

- string Error();

Detailed Description, Motivations
Auto-Generated Documentation