short masto readme
This commit is contained in:
parent
245300e355
commit
cdbfef6e48
1 changed files with 13 additions and 0 deletions
13
nixos/boxes/vpsfree1/MASTODON.md
Normal file
13
nixos/boxes/vpsfree1/MASTODON.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
```
|
||||||
|
nixos-container root-login mastodon
|
||||||
|
sudo -u mastodon bash
|
||||||
|
cd
|
||||||
|
source mastodon-env
|
||||||
|
RAILS_ENV=production tootctl
|
||||||
|
```
|
||||||
|
|
||||||
|
to completely destroy a container
|
||||||
|
* remove from the definition
|
||||||
|
* switch
|
||||||
|
* `rm -fr /var/lib/nixos-containers/mastodon/`
|
||||||
|
*
|
Loading…
Reference in a new issue