From 11ad3e26a495747801c9290a1fb7b4537d123ae0 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Tue, 19 Mar 2013 17:29:16 +0100 Subject: [PATCH] =?utf8?q?Correction=20:=20=C3=A9vite=20de=20d=C3=A9passer?= =?utf8?q?=20GROUP=5FNAME=5FMAX=5FLENGTH=3D=3D32=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- etc/nginx/site.d/80.git.heureux-cyclage.org/server.conf | 2 +- .../configure | 2 +- .../run | 6 +++--- vm_hosted | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename etc/sv/{spawn-fcgi.80.git.heureux-cyclage.org => fcgi.80.git.heureux-cyclage.org}/configure (79%) rename etc/sv/{spawn-fcgi.80.git.heureux-cyclage.org => fcgi.80.git.heureux-cyclage.org}/run (59%) diff --git a/etc/nginx/site.d/80.git.heureux-cyclage.org/server.conf b/etc/nginx/site.d/80.git.heureux-cyclage.org/server.conf index f3551fd..410304f 100644 --- a/etc/nginx/site.d/80.git.heureux-cyclage.org/server.conf +++ b/etc/nginx/site.d/80.git.heureux-cyclage.org/server.conf @@ -57,7 +57,7 @@ location @gitweb { fastcgi_pass_header Set-Cookie; fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_pass unix:/run/nginx/fastcgi/spawn-fcgi.git.80.git.heureux-cyclage.org; + fastcgi_pass unix:/run/nginx/fastcgi/fcgi.git.80.git.heureux-cyclage.org; } root /usr/share/gitweb; ssl_session_timeout 5m; diff --git a/etc/sv/spawn-fcgi.80.git.heureux-cyclage.org/configure b/etc/sv/fcgi.80.git.heureux-cyclage.org/configure similarity index 79% rename from etc/sv/spawn-fcgi.80.git.heureux-cyclage.org/configure rename to etc/sv/fcgi.80.git.heureux-cyclage.org/configure index b563226..c01e6d0 100755 --- a/etc/sv/spawn-fcgi.80.git.heureux-cyclage.org/configure +++ b/etc/sv/fcgi.80.git.heureux-cyclage.org/configure @@ -1,5 +1,5 @@ #!/bin/sh -efux -run_user=spawn-fcgi.80.git.heureux-cyclage.org +run_user=fcgi.80.git.heureux-cyclage.org id "$run_user" >/dev/null || sudo adduser \ --disabled-login \ diff --git a/etc/sv/spawn-fcgi.80.git.heureux-cyclage.org/run b/etc/sv/fcgi.80.git.heureux-cyclage.org/run similarity index 59% rename from etc/sv/spawn-fcgi.80.git.heureux-cyclage.org/run rename to etc/sv/fcgi.80.git.heureux-cyclage.org/run index 6b97f39..5e19e1f 100755 --- a/etc/sv/spawn-fcgi.80.git.heureux-cyclage.org/run +++ b/etc/sv/fcgi.80.git.heureux-cyclage.org/run @@ -1,13 +1,13 @@ #!/bin/sh -efux exec 2>&1 -run_user=spawn-fcgi.80.git.heureux-cyclage.org +run_user=fcgi.80.git.heureux-cyclage.org sock_user=www-data -exec /usr/bin/spawn-fcgi +exec /usr/bin/spawn-fcgi \ -g "$run_user" \ -G "$sock_user" \ -M 0660 \ -n \ - -s /run/nginx/fastcgi/spawn-fcgi.80.git.heureux-cyclage.org \ + -s /run/nginx/fastcgi/fcgi.80.git.heureux-cyclage.org \ -u "$run_user" \ -U "$sock_user" \ -- /usr/bin/multiwatch \ diff --git a/vm_hosted b/vm_hosted index 94916c6..de2074e 100755 --- a/vm_hosted +++ b/vm_hosted @@ -599,7 +599,7 @@ rule_gitolite_configure () { rmdir "$home"/etc/gitolite/"$d" done rule apt_get_install gitweb highlight - #sudo sv restart spawn-fcgi.git.80.git.heureux-cyclage.org + #sudo sv restart fcgi.git.80.git.heureux-cyclage.org #sudo sv restart git-daemon.git.9418 } rule_locales_configure () { -- 2.20.1