Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
documentation.suse.com / SUSE Linux Enterprise Server Documentation / Administration Guide / Services / Service Management with YaST
Applies to SUSE Linux Enterprise Server 15 SP2

29 Service Management with YaST

YaST provides a service manager for controlling the default system target, services, displaying service status, and reading the log file. New in SUSE Linux Enterprise Server 15 SP2 is YaST support for Systemd socket-based services activation, which configures services to start on demand.

Systemd supports starting services with socket-based activation, for starting services on demand. These services have two unit types: service and socket. For example, CUPS is controlled by cups.service and cups.socket. YaST allows you to select the type of service startup you want to use.

Figure 29.1, “YaST Service Manager” shows the options in the Start Mode drop-down menu: On Boot, On Demand, and Manually. Select On Demand for socket-based activation. This opens a listening network socket, and the service starts when there is a request.

YaST Service Manager
Figure 29.1: YaST Service Manager

The On Demand option is visible only for services that support it. Currently this is a small subset of services, such as CUPS, dbus, iscsid, iscsiuio, multipathd, pcscd, rpcbind, tftp, virtlockd, virtlogd. See man 5 systemd.socket for detailed information on how socket activation works.