Merge pull request #13 from Proteon/hostname-fix

Fix using container's hostname
This commit is contained in:
Adrien Ferrand 2018-12-06 13:54:22 +01:00 committed by GitHub
commit b2319c0d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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