0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-24 18:09:26 -05:00

developer: infrastructure: quote commands

so that copy/pasting does not get non-ascii characters
This commit is contained in:
Earl Warren 2023-12-12 18:33:50 +01:00 committed by Earl Warren
parent 301f4b65f5
commit 1afd0a4ef7

View file

@ -271,12 +271,14 @@ It hosts LXC containers setup with [lxc-helpers](https://code.forgejo.org/forgej
lxc-helpers.sh lxc_container_user_install forgejo-next $(id -u) $USER
```
- upgrades checklist:
- change the `image=` in /home/debian/run-forgejo.sh
- docker stop forgejo
- sudo rsync -av --numeric-ids --delete --progress /srv/forgejo/ /root/forgejo-backup/
- docker rm forgejo
- bash -x /home/debian/run-forgejo.sh
- docker logs -n 200 -f forgejo
```sh
emacs /home/debian/run-forgejo.sh # change the `image=`
docker stop forgejo
sudo rsync -av --numeric-ids --delete --progress /srv/forgejo/ /root/forgejo-backup/
docker rm forgejo
bash -x /home/debian/run-forgejo.sh
docker logs -n 200 -f forgejo
```
- `forgejo-next` on hetzner02