mirror of
https://github.com/coder/code-server.git
synced 2026-05-24 13:17:28 +02:00
Bundle systemd system unit
systemd's user units are buggy on certain versions and do not linger by default. Closes #1771 Closes #1673 Closes #1882 Closes #1861
This commit is contained in:
@@ -84,7 +84,7 @@ echo_systemd_postinstall() {
|
||||
echoh
|
||||
cath << EOF
|
||||
To have systemd start code-server now and restart on boot:
|
||||
systemctl --user enable --now code-server
|
||||
sudo systemctl enable --now code-server@$USER
|
||||
Or, if you don't want/need a background service you can run:
|
||||
code-server
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user