1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00

Update install

This commit is contained in:
frju365 2017-12-28 23:39:24 +01:00 committed by GitHub
parent 9b2ea7bc77
commit 579de0d160
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,7 +181,7 @@ cat /etc/systemd/system/$app.service
#=================================================
pushd $final_path
node app --setup=\"{\\\"url\\\":\\\"http://127.0.0.1:4567\\\",\\\"secret\\\":\\\"$secret\\\",\\\"database\\\":\\\"$dbname\\\",\\\"mongo:host\\\":\\\"127.0.0.1\\\",\\\"mongo:port\\\":27017,\\\"mongo:username\\\":\\\"$dbuser\\\",\\\"mongo:password\\\":\\\"$dbpass\\\",\\\"mongo:database\\\":0,\\\"admin:username\\\":\\\"$admin_user\\\",\\\"admin:email\\\":\\\"$admin_mail\\\",\\\"admin:password\\\":\\\"$admin_pass\\\",\\\"admin:password:confirm\\\":\\\"$admin_pass\\\"}\"
node app --setup=\"{\\\"url\\\":\\\"http://127.0.0.1:4567\\\",\\\"secret\\\":\\\"$secret\\\",\\\"database\\\":\\\"$dbname\\\",\\\"mongo:host\\\":\\\"127.0.0.1\\\",\\\"mongo:port\\\":27017,\\\"mongo:username\\\":\\\"$dbuser\\\",\\\"mongo:password\\\":\\\"$dbpass\\\",\\\"mongo:database\\\":0,\\\"admin:username\\\":\\\"$admin_user\\\",\\\"admin:email\\\":\\\"$admin_mail\\\",\\\"admin:password\\\":\\\"$admin_pass\\\",\\\"admin:password:confirm\\\":\\\"$admin_pass\\\"}\" <<< exit
./nodebb build
popd
chown -R $app:$app $final_path