dotfiles/nixos/boxes/cupsnet/MASTODON.md

14 lines
244 B
Markdown
Raw Normal View History

2022-11-26 13:29:47 +00:00
```
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/`
*