How to stop code-server #6065
Answered
by
code-asher
ctoabidmaqbool
asked this question in
Q&A
|
I have installed code-server using this method on Ubuntu: I can simple code-server using: How can I stop code-server completely? |
Answered by
code-asher
Mar 13, 2023
Replies: 2 comments 1 reply
|
netstat -ap | grep 1200 |
0 replies
|
If you are running plain If you can, run code-server with systemd ( |
1 reply
Answer selected by
ctoabidmaqbool
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are running plain
code-serverthen you couldCtrl+cthe command. If you run it in the background manually like withcode-server &then you could kill it by finding the PID viapsornetstatand runkill <pid>or match by name like withpkill code-server.If you can, run code-server with systemd (
systemctl start code-server). Then you can let systemd manage the lifecycle and you can runsystemctl stop code-server.