change owner of hortusfox folder (#6763)

This commit is contained in:
Maximilian Bosche 2025-08-12 09:38:24 +00:00 committed by GitHub
parent d0dfe1f3a6
commit 75335f3362
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ function update_script() {
$STD php asatru migrate --no-interaction
$STD php asatru plants:attributes
$STD php asatru calendar:classes
chown -R www-data:www-data /opt/hortusfox
msg_ok "Updated HortusFox"
msg_info "Starting Service"

View File

@ -88,6 +88,7 @@ cat <<EOF >/etc/apache2/sites-available/hortusfox.conf
CustomLog \${APACHE_LOG_DIR}/hortusfox_access.log combined
</VirtualHost>
EOF
chown -R www-data:www-data /opt/hortusfox
$STD a2dissite 000-default
$STD a2ensite hortusfox
$STD a2enmod rewrite