refs #1134 changes all permissions to opengnsys
parent
4f222c2692
commit
74093bf18d
|
@ -713,10 +713,10 @@ function check_services_status() {
|
|||
# Main program.
|
||||
|
||||
# Access control.
|
||||
if [ "$USER" = "root" ] || [ "$USER" = "ogboot" ] || groups $USER | grep -qw "ogboot"; then
|
||||
if [ "$USER" = "root" ] || [ "$USER" = "opengnsys" ] || groups $USER | grep -qw "opengnsys"; then
|
||||
ACCESS="root"
|
||||
else
|
||||
raiseError access "Need to be root, ogboot or a member of the ogboot group."
|
||||
raiseError access "Need to be root, opengnsys or a member of the opengnsys group."
|
||||
fi
|
||||
|
||||
# Check dependencies.
|
||||
|
|
|
@ -10,7 +10,7 @@ TMPDIR=/tmp/oglive$$
|
|||
let CHANGES=0
|
||||
|
||||
# Control básico de errores.
|
||||
if [ "$USER" != "root" ] && [ "$USER" != "ogboot" ] && ! id -nG "$USER" | grep -qw "ogboot"; then
|
||||
if [ "$USER" != "root" ] && [ "$USER" != "opengnsys" ] && ! id -nG "$USER" | grep -qw "opengnsys"; then
|
||||
echo "$PROG: Error: solo ejecutable por root, ogboot o miembros del grupo ogboot" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -18,7 +18,7 @@ server {
|
|||
# Bloque para manejar las solicitudes a index.php
|
||||
location ~ ^/index.php(/|$) {
|
||||
include fastcgi_params;
|
||||
fastcgi_pass unix:/run/php/php__PHPVERSION__-fpm-ogboot.sock; # Asegúrate de que esto sea correcto
|
||||
fastcgi_pass unix:/run/php/php__PHPVERSION__-fpm.sock; # Asegúrate de que esto sea correcto
|
||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
|
|
Loading…
Reference in New Issue