mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
edit the config defaults
This commit is contained in:
parent
73c6b065c3
commit
9e690f9c32
1 changed files with 5 additions and 0 deletions
|
@ -104,6 +104,11 @@ if [ "$1" = "on" ]; then
|
||||||
sudo chmod 755 /mnt/hdd/app-data/strfry
|
sudo chmod 755 /mnt/hdd/app-data/strfry
|
||||||
sudo -u strfry cp ./strfry.conf /mnt/hdd/app-data/strfry/strfry.conf
|
sudo -u strfry cp ./strfry.conf /mnt/hdd/app-data/strfry/strfry.conf
|
||||||
|
|
||||||
|
# edit the defaults https://github.com/hoytech/strfry/blob/master/strfry.conf
|
||||||
|
sed -i 's|db = "./strfry-db/"|db = "/mnt/hdd/app-storage/strfry-db"|' /mnt/hdd/app-data/strfry/strfry.conf
|
||||||
|
sed -i 's|mapsize = 10995116277760|mapsize = 100000000000|' /mnt/hdd/app-data/strfry/strfry.conf
|
||||||
|
sed -i 's|bind = "127.0.0.1"|bind = "0.0.0.0"|' /mnt/hdd/app-data/strfry/strfry.conf
|
||||||
|
|
||||||
# symlink
|
# symlink
|
||||||
sudo ln -s /mnt/hdd/app-data/strfry/strfry.conf /etc/strfry.conf
|
sudo ln -s /mnt/hdd/app-data/strfry/strfry.conf /etc/strfry.conf
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue