Registered User mNo edit summary |
Registered User No edit summary |
||
Line 1: | Line 1: | ||
==Starting, stopping and restarting Weston== | ==Starting, stopping and restarting Weston== | ||
Weston has its own '''systemd''' service (/lib/systemd/system/weston.service) to easily start, stop and restart Weston. | Weston has its own '''systemd''' service (/lib/systemd/system/weston.service) to easily start, stop and restart Weston. | ||
Line 27: | Line 19: | ||
Note: The following command enables the automatic start of the Weston service: | Note: The following command enables the automatic start of the Weston service: | ||
{{board$}} systemctl enable weston | {{board$}} systemctl enable weston | ||
<noinclude> | |||
{{PublicationRequestId | 9279 | 2019-10-16 | AnneJ}} | |||
[[Category:How to run use cases]] | |||
[[Category:Wayland Weston]] | |||
</noinclude> |
Latest revision as of 10:10, 7 October 2019
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:
systemctl stop weston
The following command starts the Weston service:
systemctl start weston
The following command stops and then restarts the Weston service:
systemctl restart weston
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:
systemctl disable weston
Note: The following command enables the automatic start of the Weston service:
systemctl enable weston