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:
parent
301f4b65f5
commit
1afd0a4ef7
1 changed files with 8 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue