Closed
Description
I install code-server on my ECS by executing install.sh
.
Then execute following:
systemctl --user enable --now code-server
systemctl --user start code-server
But when I disconnect the ssh connection from my ECS, the code-server process will be killed immediately and the connection
between ECS and browser will break. Finally, I find this article systemd user instance to solve the problem.
This is solution.
loginctl enable-linger $USER
The issue is only happends when I run code-server as non-root user.
I think you shound add it.
Metadata
Metadata
Assignees
Labels
No labels