mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-08-16 15:31:19 +02:00
Update install-service.sh
fix permissions error on install kimai
This commit is contained in:
parent
b56bb14264
commit
446bea1b89
1 changed files with 4 additions and 4 deletions
|
@ -150,14 +150,14 @@ APP_SECRET=$(random_password)
|
||||||
CORS_ALLOW_ORIGIN=^https?://localhost(:[0-9]+)?$
|
CORS_ALLOW_ORIGIN=^https?://localhost(:[0-9]+)?$
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
chown -R www-data:www-data .
|
|
||||||
chmod -R g+r .
|
|
||||||
chmod -R g+rw var/
|
|
||||||
|
|
||||||
bin/console kimai:install -n
|
bin/console kimai:install -n
|
||||||
|
|
||||||
bin/console kimai:user:create admin admin@$LXC_DOMAIN ROLE_SUPER_ADMIN $LXC_PWD
|
bin/console kimai:user:create admin admin@$LXC_DOMAIN ROLE_SUPER_ADMIN $LXC_PWD
|
||||||
|
|
||||||
|
chown -R www-data:www-data .
|
||||||
|
chmod -R g+r .
|
||||||
|
chmod -R g+rw var/
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable --now php${PHP_VERSION}-fpm nginx
|
systemctl enable --now php${PHP_VERSION}-fpm nginx
|
||||||
systemctl restart php${PHP_VERSION}-fpm nginx
|
systemctl restart php${PHP_VERSION}-fpm nginx
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue