mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
nc-nextcloud: fixes for docker build process
This commit is contained in:
parent
c9a6c57e2f
commit
47a9cafc8a
@ -47,8 +47,14 @@ install() { :; }
|
||||
configure()
|
||||
{
|
||||
## RE-CREATE DATABASE TABLE
|
||||
echo "Starting mariaDB"
|
||||
|
||||
# launch mariadb if not already running (for docker build)
|
||||
pgrep -x mysqld &>/dev/null || { mysqld & }
|
||||
|
||||
# wait for mariadb
|
||||
pgrep -x mysqld &>/dev/null || { echo "mariaDB process not found"; return 1; }
|
||||
|
||||
while :; do
|
||||
[[ -S /var/run/mysqld/mysqld.sock ]] && break
|
||||
sleep 0.5
|
||||
@ -172,8 +178,6 @@ EOF
|
||||
crontab -u www-data /tmp/crontab_http
|
||||
rm /tmp/crontab_http
|
||||
|
||||
systemctl start apache2
|
||||
|
||||
echo "Don't forget to run nc-init"
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user