Use container's hostname instead of localhost as backuppc hostname

This commit is contained in:
Alwyn Kik 2018-12-04 15:21:44 +01:00
parent 7296b83270
commit fab101a40e

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 localhost \
--hostname $(</etc/hostname) \
--html-dir /var/www/html/BackupPC \
--html-dir-url /BackupPC \
--install-dir /usr/local/BackupPC \