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
This commit is contained in:
Bryan Joshua Pedini 2023-04-07 14:43:50 +02:00
parent ae9fcde814
commit 3b009f6c12

View File

@ -2,5 +2,6 @@
cd /opt/nyx cd /opt/nyx
docker compose stop nyx docker compose stop nyx
cp -a default.db data/data/data.db cp default.db data/data/data.db
chown 1000:1000 data/data/data.db
docker compose start nyx docker compose start nyx