nyx/jobs/nyx-reset.sh
Bryan Joshua Pedini 3b009f6c12 fixed permissions in nyx-reset script
added ability to launch containers as root (as the repo would be owned by root, hence the `-a` made no difference), now the permission get set correctly
2023-04-07 14:43:50 +02:00

8 lines
146 B
Bash
Executable File

#!/usr/bin/env sh
cd /opt/nyx
docker compose stop nyx
cp default.db data/data/data.db
chown 1000:1000 data/data/data.db
docker compose start nyx