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:
Anmol Sethi
2020-07-22 15:58:51 -04:00
parent 864a9e7bd6
commit 255fa37e1d
6 changed files with 24 additions and 9 deletions

View File

@@ -131,7 +131,7 @@ sed -i.bak 's/auth: password/auth: none/' ~/.config/code-server/config.yaml
Restart `code-server` with (assuming you followed the guide):
```bash
systemctl --user restart code-server
sudo systemctl restart code-server@$USER
```
Now forward local port 8080 to `127.0.0.1:8080` on the remote instance by running the following command on your local machine.
@@ -277,7 +277,7 @@ sudo setcap cap_net_bind_service=+ep /usr/lib/code-server/lib/node
Assuming you have been following the guide, restart `code-server` with:
```bash
systemctl --user restart code-server
sudo systemctl restart code-server@$USER
```
Edit your instance and checkmark the allow HTTPS traffic option.
@@ -295,7 +295,7 @@ Edit the `password` field in the `code-server` config file at `~/.config/code-se
and then restart `code-server` with:
```bash
systemctl --user restart code-server
sudo systemctl restart code-server@$USER
```
### How do I securely access development web services?