13 lines
244 B
Markdown
13 lines
244 B
Markdown
```
|
|
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/`
|
|
*
|