From b9ed12927f090604e0775adbf5568060dddd5d7a Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Wed, 16 Dec 2020 10:21:19 +0100
Subject: [PATCH] Default log dir update. #63

---
 .gitlab-ci.yml                      | 1 +
 config/sample-docker.engine.ini     | 2 +-
 config/sample-production.engine.ini | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3cb08616..f2dd755f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,7 @@ before_script:
   - mkdir /etc/aura
   - mkdir /var/log/aura
   - mkdir -p /opt/aura/engine/src/liquidsoap
+  - mkdir -p /opt/aura/engine/logs
   - pwd
   - cp config/sample-production.engine.ini config/engine.ini
 
diff --git a/config/sample-docker.engine.ini b/config/sample-docker.engine.ini
index 84a5f628..b23d5d4a 100644
--- a/config/sample-docker.engine.ini
+++ b/config/sample-docker.engine.ini
@@ -43,7 +43,7 @@ heartbeat_port = 43334
 # Seconds how often the vitality of the Engine should be checked (0 = disabled)
 heartbeat_frequency = 1
 
-logdir="/home/username/code/aura/engine/logs"
+logdir="/srv/logs"
 # Possible values: debug, info, warning, error, critical
 loglevel="info"
 
diff --git a/config/sample-production.engine.ini b/config/sample-production.engine.ini
index cc1aafea..b8fc44e9 100644
--- a/config/sample-production.engine.ini
+++ b/config/sample-production.engine.ini
@@ -43,7 +43,7 @@ heartbeat_port = 43334
 # Seconds how often the vitality of the Engine should be checked (0 = disabled)
 heartbeat_frequency = 1
 
-logdir="/home/username/code/aura/engine/logs"
+logdir="/opt/aura/engine/logs"
 # Possible values: debug, info, warning, error, critical
 loglevel="info"
 
-- 
GitLab