X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Finit.d%2Ftmpfs;h=a80f6bc104be820391a994f6d23e3d8d0aab17f3;hb=81e7625eeb788b2de846fe3ab1ce58c1c03f43a0;hp=fa749ee16dcf372ec4e1442f3fac3752ebf3db3d;hpb=fbbdf3cc3b70bafc30320601465d402a5e615d0e;p=lhc%2Fateliers.git diff --git a/etc/init.d/tmpfs b/etc/init.d/tmpfs index fa749ee..a80f6bc 100755 --- a/etc/init.d/tmpfs +++ b/etc/init.d/tmpfs @@ -46,15 +46,19 @@ do_start() { /run/shm/cache/php5/fpm \ /run/shm/tmp/php5 - ! getent passwd gitweb >/dev/null || - sudo install -d -m 770 -o gitweb -g gitweb \ - /run/tmp/gitweb + ! getent passwd fcgi-gitweb >/dev/null || + sudo install -d -m 1771 -o fcgi-gitweb -g fcgi-gitweb \ + /run/shm/tmp/gitweb ! getent passwd mysql >/dev/null || sudo install -d -m 1771 -o mysql -g mysql \ /run/mysqld \ /run/mysqld/sock + ! getent passwd postgres >/dev/null || + sudo install -d -m 710 -o postgres -g postgres-data \ + /run/postgresql + sudo install -d -m 1771 -o root -g root \ /run/spawn-fcgi fi