lsctl

lsctl is a command line tool that simplifies managing Landscape systemd services. It allows you to apply systemctl commands to all of the services at once. It must be run with root privileges.

Usage

lsctl <COMMAND>

Internally, this executes:

systemctl <COMMAND> landscape-server.target

Common commands

Certain commands extend the basic systemctl behavior with extra functionality.

disable

Prevents Landscape services from starting automatically at boot.

enable

Configures Landscape services to start automatically at boot.

start

Starts all Landscape services and also enables any Landscape cron jobs.

status

Shows the status of all Landscape services. You can use this to determine which services are active or inactive for troubleshooting.

Equivalent systemctl command:

systemctl list-dependencies landscape-server.target

To check the status of an individual service, you can use:

systemctl status <SERVICE-NAME>

stop

Stops all Landscape services cleanly, waiting for any batch scripts to complete. This also disables Landscape cron jobs.

restart

Restart Landscape services. Currently, this does not enable or disable Landscape cron jobs.