mirror of
https://github.com/adferrand/docker-backuppc.git
synced 2023-11-05 04:40:26 +01:00
Give more detailed info about the issue
This commit is contained in:
parent
eeb9136523
commit
671b7d8212
@ -35,7 +35,8 @@ if [ -f /firstrun ]; then
|
|||||||
sed -ie "s/^\$Conf{CgiAdminUsers}\s*=\s*'\w*'/\$Conf{CgiAdminUsers} = '${BACKUPPC_WEB_USER:-backuppc}'/g" /etc/backuppc/config.pl
|
sed -ie "s/^\$Conf{CgiAdminUsers}\s*=\s*'\w*'/\$Conf{CgiAdminUsers} = '${BACKUPPC_WEB_USER:-backuppc}'/g" /etc/backuppc/config.pl
|
||||||
htpasswd -b -c /etc/backuppc/htpasswd ${BACKUPPC_WEB_USER:-backuppc} ${BACKUPPC_WEB_PASSWD:-password}
|
htpasswd -b -c /etc/backuppc/htpasswd ${BACKUPPC_WEB_USER:-backuppc} ${BACKUPPC_WEB_PASSWD:-password}
|
||||||
|
|
||||||
# Workaround bug which causes BackupPC fail to start when container launched with existing configuration
|
# Workaround bug which causes BackupPC v3 fail to start when container launched with existing configuration.
|
||||||
|
# See https://github.com/adferrand/docker-backuppc/pull/18 for details.
|
||||||
sed -ie "s|^\$Conf{CgiURL}\s*=\s*''\(.*\)''|\$Conf{CgiURL} = '\1'|g" /etc/backuppc/config.pl
|
sed -ie "s|^\$Conf{CgiURL}\s*=\s*''\(.*\)''|\$Conf{CgiURL} = '\1'|g" /etc/backuppc/config.pl
|
||||||
|
|
||||||
# Prepare lighttpd
|
# Prepare lighttpd
|
||||||
|
Loading…
Reference in New Issue
Block a user