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

@@ -4,7 +4,7 @@ source /build/config
set -x
## Install the SSH server
apt_get_install_permanent openssh-server
apt_install_permanent openssh-server
mkdir /var/run/sshd
## Install root key
@@ -19,7 +19,7 @@ ssh-keygen -t rsa -N "" -f id_rsa
cat /opt/id_rsa.pub >> "$AUTHORIZED_KEYS"
## X11 forwarding
apt_get_install_permanent xauth
apt_install_permanent xauth
## Setup environment
sed -i "1iexport HOME=/root" /root/.profile