Files
docker-deployment/build/boot/sabnzbd.sh
Rik Veenboer a307062d5b Import some files and transform to working containers for:
* mysql
* lighttpd (with php and mysql)
* transmission
* sabnzbd
* sickbeard
* couchpotato
* headphones
* btsync
2015-01-14 15:17:36 +00:00

16 lines
346 B
Bash

#!/bin/bash
set -e
mkdir -p `dirname $SABNZBD_CONFIG`
if [[ ! -e $SABNZBD_CONFIG ]]; then
cat << EOF > $SABNZBD_CONFIG
[misc]
log_dir = /host/var/log/sabnzbd
admin_dir = /host/var/lib/sabnzbd/admin
download_dir = /host/tmp/downloads
cache_dir = /host/var/lib/sabnzbd/cache
complete_dir = /host/srv/downloads
auto_browser = 0
[servers]
EOF
fi