Skip to content
Snippets Groups Projects
Commit 4e051253 authored by David Trattnig's avatar David Trattnig
Browse files

Local log and copy config for prod.

parent 71cf2fef
No related branches found
No related tags found
No related merge requests found
...@@ -22,9 +22,6 @@ bash script/install-opam-packages.sh ...@@ -22,9 +22,6 @@ bash script/install-opam-packages.sh
# Development and Production # Development and Production
echo "Create local Logs Folder ..."
mkdir -p logs
echo "Installing Web Application Packages ..." echo "Installing Web Application Packages ..."
bash script/install-web.sh bash script/install-web.sh
...@@ -38,6 +35,9 @@ if [ $mode == "dev" ]; then ...@@ -38,6 +35,9 @@ if [ $mode == "dev" ]; then
# Set LOCK file location # Set LOCK file location
LOCKFILE_DB=configuration/.install.mariadb.lock LOCKFILE_DB=configuration/.install.mariadb.lock
echo "Create local Logs Folder ..."
mkdir -p logs
echo "Copy configuration to './configuration/engine.ini'" echo "Copy configuration to './configuration/engine.ini'"
cp -n configuration/sample.engine.ini configuration/engine.ini cp -n configuration/sample.engine.ini configuration/engine.ini
fi fi
...@@ -68,7 +68,7 @@ if [ $mode == "prod" ]; then ...@@ -68,7 +68,7 @@ if [ $mode == "prod" ]; then
mkdir -p /etc/aura mkdir -p /etc/aura
echo "Copy configuration to './configuration/engine.ini'" echo "Copy configuration to './configuration/engine.ini'"
cp -n configuration/sample.engine.ini engine.ini cp -n configuration/sample.engine.ini /etc/aura/engine.ini
echo "Set Ownership of '/opt/aura/engine', '/var/log/aura/' and '/etc/aura/engine.ini' to Engine User" echo "Set Ownership of '/opt/aura/engine', '/var/log/aura/' and '/etc/aura/engine.ini' to Engine User"
chown -R engineuser:engineuser . chown -R engineuser:engineuser .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment