X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Finit.d%2Ftmpfs;h=8e46d000321af07f7ca4d40a9e198b33caa7b126;hp=05370f032918bc7b795a75a811f2603cd31801c6;hb=4699cb3295e62b8035110ad473cd379d25dc8fdf;hpb=80909c24d0e4ca5061f3379852ac07b296760883 diff --git a/etc/init.d/tmpfs b/etc/init.d/tmpfs index 05370f0..8e46d00 100755 --- a/etc/init.d/tmpfs +++ b/etc/init.d/tmpfs @@ -56,9 +56,12 @@ do_start() { /run/mysqld/sock ! getent passwd postgres >/dev/null || - sudo install -d -m 1771 -o postgres -g postgres \ - /run/postgresql \ - /run/postgresql/sock + sudo install -d -m 710 -o postgres -g postgres-data \ + /run/postgresql + + ! getent passwd postgrey >/dev/null || + sudo install -d -m 2710 -o postgrey -g postfix \ + /run/postgrey sudo install -d -m 1771 -o root -g root \ /run/spawn-fcgi