check service status or service function before and after migration
_is_applicable($srv_pkg_name); Return false if the service test should be skipped.
By default it checks the service package name against a comma-separated blacklist in EXCLUDE_SERVICES
variable and returns false if it is found there.
If INCLUDE_SERVICES
is set it will only return true for modules matching the whitelist specified in a comma-separated list in INCLUDE_SERVICES
matching service package name.
install_services($service);
Install services, details of default services are defined in $default_services:
registered_addons, susefirewall, ntp, chrony, postfix, apache, dhcpd, bind, snmp, rpcbind, autofs, cups, radvd, cron, apparmor, vsftp, kdump
Check service before migration, zypper install service package, enable, start and check service status
check_services($service);
check service status after migration