From fdb545c5573f0febee81de2aaeddb2e61ae2be04 Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 17 Aug 2020 00:20:48 +0200 Subject: [PATCH] Debug --- bin/entrypoint.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bin/entrypoint.sh b/bin/entrypoint.sh index c23b86d..f463097 100755 --- a/bin/entrypoint.sh +++ b/bin/entrypoint.sh @@ -4,9 +4,9 @@ if [ ! -f /data/mumo.ini ] then cp /mumo/mumo.ini /data - sed -i 's/mumo.log/\/dev\/null/' /data/mumo.ini - sed -i 's/mumo.pid/\/tmp\/mumo.pid/' /data/mumo.ini - sed -i 's/modules-enabled\//\/data\/modules-enabled\//' /data/mumo.ini + #sed -i 's/mumo.log/\/dev\/null/' /data/mumo.ini + #sed -i 's/mumo.pid/\/tmp\/mumo.pid/' /data/mumo.ini + #sed -i 's/modules-enabled\//\/data\/modules-enabled\//' /data/mumo.ini chmod a+rw /data/mumo.ini cp -r /mumo/modules-available /data @@ -22,4 +22,5 @@ cp -r /data/modules-enabled /mumo # make sure the data dir is writable chown mumo:mumo /data -R -exec su mumo -c "python3 /mumo/mumo.py" +#exec su mumo -c "python3 /mumo/mumo.py" +exec python3 /mumo/mumo.py