Cleanups, write log files of sonarr and mysql to host

This commit is contained in:
2015-12-31 13:39:36 +01:00
parent 257625ad72
commit d4381991e1
31 changed files with 49 additions and 53 deletions

View File

@@ -6,4 +6,4 @@ if [ ! -d $MYSQL_DATA ]; then
cp /var/lib/mysql/ $MYSQL_DATA -R
chown mysql:mysql $MYSQL_DATA -R
fi
/usr/bin/mysqld_safe --skip-syslog
/usr/bin/mysqld_safe --skip-syslog > /host/var/log/mysql/daemon.log

View File

@@ -1,3 +1,3 @@
#!/bin/bash
set -e
mono /opt/NzbDrone/NzbDrone.exe --no-browser -data=$SONARR_DATA
mono /opt/NzbDrone/NzbDrone.exe --no-browser -data=$SONARR_DATA > /dev/null