Fix using container's hostname

This commit is contained in:
Alwyn Kik 2018-12-06 13:49:01 +01:00
parent 223ef0d12e
commit f308d4a1e2

View File

@ -59,7 +59,7 @@ if [ -f /firstrun ]; then
--cgi-dir /var/www/cgi-bin/BackupPC \
--data-dir /data/backuppc \
--log-dir /data/backuppc/log \
--hostname $(</etc/hostname) \
--hostname "$HOSTNAME" \
--html-dir /var/www/html/BackupPC \
--html-dir-url /BackupPC \
--install-dir /usr/local/BackupPC \