From 3125cf9f5fda65e300b53602be4ff6c497d5b96b Mon Sep 17 00:00:00 2001 From: Mine Coins Date: Sun, 19 Feb 2017 09:38:38 +0200 Subject: [PATCH] deploy: set default db_storage_path --- deployment/deploy.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/deploy.bash b/deployment/deploy.bash index 8e27d17..47c114e 100644 --- a/deployment/deploy.bash +++ b/deployment/deploy.bash @@ -48,7 +48,7 @@ npm install npm install -g pm2 openssl req -subj "/C=IT/ST=Pool/L=Daemon/O=Mining Pool/CN=mining.pool" -newkey rsa:2048 -nodes -keyout cert.key -x509 -out cert.pem -days 36500 mkdir ~/pool_db/ -cp config_example.json config.json +sed -r "s/(\"db_storage_path\": ).*/\1\"\/home\/$CURUSER\/pool_db\/\",/" config_example.json > config.json cd ~ git clone https://github.com/mesh0000/poolui.git cd poolui