ubuntu是如何开机自动启动weston服务的?

1. systemd 使用文件/lib/systemd/system/weston.service启动

2. 停止weston服务
    # 
systemctl stop weston

3. 重新启动weston服务(先停止服务,然后再启动服务)

    # systemctl restart weston

4. 如何设置开机不自动启动weston服务
    # systemctl disable weston

5. 如何设置开机自动启动weston服务
    # systemctl enable weston 

猜你喜欢

转载自www.cnblogs.com/dakewei/p/12445315.html