Skip to content

注册系统服务

/usr/lib/systemd/system/code-server.service

[Unit]
Description=Vs Code Server
After=network.target

[Service]
Type=exec
ExecStart=/root/Software/code-server-3.6.2-linux-arm64/code-server
Restart=always
User=root

[Install]
WantedBy=default.target