“How to stop and start Weston”的版本间的差异

来自百问网嵌入式Linux wiki
 
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
[[Category:How_to ]][[Category:How_to_run_use_cases ]][[Category:Weston]]
+
==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
 +
 
 +
The following command starts the Weston service:
 +
{{board$}} systemctl start weston
 +
 
 +
The following command stops and then restarts the Weston service:
 +
{{board$}} systemctl restart weston
 +
 
 +
==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
 +
 
 +
Note: The following command enables the automatic start of the Weston service:
 +
{{board$}} systemctl enable weston
 +
 
 +
<noinclude>
 +
{{PublicationRequestId | 9279 | 2019-10-16 | AnneJ}}
 +
[[Category:How to run use cases]]
 +
[[Category:Wayland Weston]]
 +
</noinclude>

2020年5月8日 (五) 23:00的最新版本

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

The following command starts the Weston service:

Board $> systemctl start weston

The following command stops and then restarts the Weston service:

Board $> systemctl restart weston

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

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

Board $> systemctl enable weston


<securetransclude src="ProtectedTemplate:PublicationRequestId" params="9279 | 2019-10-16 | AnneJ"></securetransclude>