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

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 SP3 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.