chevereto: derive php-fpm from one version, use nginx_enable_site

This commit is contained in:
MickLesk
2026-09-10 13:53:58 +02:00
parent 17be362b10
commit 4fe9862ece
2 changed files with 10 additions and 9 deletions
+4 -2
View File
@@ -33,8 +33,10 @@ function update_script() {
fi
if check_for_gh_release "chevereto" "chevereto/chevereto"; then
PHP_FPM_SERVICE="$(basename "$(get_php_fpm_socket)" .sock)"
msg_info "Stopping Services"
systemctl stop nginx php8.3-fpm
systemctl stop nginx "$PHP_FPM_SERVICE"
msg_ok "Stopped Services"
create_backup /opt/chevereto/app/env.php \
@@ -54,7 +56,7 @@ function update_script() {
msg_ok "Updated Chevereto"
msg_info "Starting Services"
systemctl start php8.3-fpm nginx
systemctl start "$PHP_FPM_SERVICE" nginx
msg_ok "Started Services"
msg_ok "Updated successfully!"
fi