Import some files and transform to working containers for:
* mysql * lighttpd (with php and mysql) * transmission * sabnzbd * sickbeard * couchpotato * headphones * btsync
This commit is contained in:
11
build/scripts/webserver.sh
Normal file
11
build/scripts/webserver.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
source /build/config
|
||||
set -x
|
||||
|
||||
## Environment
|
||||
import_env LIGHTTPD_CONFIG
|
||||
export_env LIGHTTPD_DOMAINS /host/etc/lighttpd
|
||||
|
||||
## Configuration
|
||||
echo "include_shell \"cat $LIGHTTPD_DOMAINS/*.conf\"" >> $LIGHTTPD_CONFIG
|
||||
Reference in New Issue
Block a user