Refactor nginx management to use helper

Replace direct nginx systemctl/ln calls with the `nginx_enable_site` helper function across multiple update scripts. Also use `get_php_fpm_socket` in paymenter.sh for dynamic PHP socket path instead of hardcoded version string.
This commit is contained in:
MickLesk
2026-07-28 15:02:51 +02:00
parent b7688ff97a
commit af111bf419
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ server {
}
}
EOF
systemctl reload nginx
nginx_enable_site dispatcharr.conf
msg_ok "Migrated Nginx Configuration"
fi