code-server --link on ubuntu startup

How do i do that?
2 Replies
bpmct
bpmct3y ago
Hey, are you using code-server or Coder? I believe your last question was about Coder?
bpmct
bpmct3y ago
Anyways, you can edit the code-server config file to use
link: true
link: true
And then install code-server as a systemd service: https://coder.com/docs/code-server/latest/install#debian-ubuntu. You'll probably want to run code-server --link once first to log in, then you can enable it
sudo systemctl enable --now code-server@$USER
sudo systemctl enable --now code-server@$USER
Install - code-server v4.5.2 docs
How to install code-server.
Want results from more Discord servers?
Add your server