mirror of
https://github.com/adferrand/docker-backuppc.git
synced 2023-11-05 04:40:26 +01:00
do not overwrite existing htpasswd
This commit is contained in:
parent
f21deb935d
commit
abb1b05519
@ -33,7 +33,9 @@ if [ -f /firstrun ]; then
|
||||
--config-override CgiAdminUsers="'${BACKUPPC_WEB_USER:-backuppc}'"
|
||||
|
||||
# Configure WEB UI access
|
||||
if [ ! -f /etc/backuppc/htpasswd ]; then
|
||||
htpasswd -b -c /etc/backuppc/htpasswd ${BACKUPPC_WEB_USER:-backuppc} ${BACKUPPC_WEB_PASSWD:-password}
|
||||
fi
|
||||
|
||||
# Prepare lighttpd
|
||||
if [ "$USE_SSL" = true ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user