Update kimai-install.sh
Some checks are pending
Create Changelog Pull Request / update-changelog-pull-request (push) Waiting to run
Shellcheck / Shellcheck (push) Waiting to run
Validate script formatting / Check changed files (push) Waiting to run
Validate scripts / Check changed files (push) Waiting to run

This commit is contained in:
CanbiZ 2025-01-06 08:48:59 +01:00 committed by GitHub
parent e94280f1a1
commit 32a99a44d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,11 +56,11 @@ $STD composer install --no-dev --optimize-autoloader --no-interaction
cp .env.dist .env cp .env.dist .env
sed -i "/^DATABASE_URL=/c\DATABASE_URL=mysql://$DB_USER:$DB_PASS@127.0.0.1:3306/$DB_NAME?charset=utf8mb4&serverVersion=$MYSQL_VERSION" /opt/kimai/.env sed -i "/^DATABASE_URL=/c\DATABASE_URL=mysql://$DB_USER:$DB_PASS@127.0.0.1:3306/$DB_NAME?charset=utf8mb4&serverVersion=$MYSQL_VERSION" /opt/kimai/.env
$STD bin/console kimai:install -n $STD bin/console kimai:install -n
chown -R :www-data /opt/kimai chown -R :www-data /opt/*
chmod -R g+r /opt/kimai chmod -R g+r /opt/*
chmod -R g+rw /opt/kimai chmod -R g+rw /opt/*
sudo chown -R www-data:www-data /opt/kimai sudo chown -R www-data:www-data /opt/*
sudo chmod -R 755 /opt/kimai sudo chmod -R 755 /opt/*
$STD expect <<EOF $STD expect <<EOF
set timeout -1 set timeout -1
log_user 0 log_user 0