How to stop and start Weston

1 Starting, stopping and restarting Weston

Weston has its own systemd service (/lib/systemd/system/weston.service) to easily start, stop and restart Weston.

The following command stops the Weston service:

Board $> systemctl stop weston@root.service


The following command starts the Weston service:

Board $> systemctl start weston@root.service

The following command stops and then restarts the Weston service:

Board $> systemctl restart weston@root.service

2 Preventing Weston from automatically starting on boot

The Weston service is automatically started on boot as specified in /lib/systemd/system/weston.service.

The following command disables the automatic start of the Weston service:

Board $> systemctl disable weston@root.service

Note: The following command enables the automatic start of the Weston service:

Board $> systemctl enable weston@root.service