X-Git-Url: https://git.cyclocoop.org/%27%20.%20parametre_url%28%24self%2C%20%27tri%27%2C%20%27nom%27%29%20.%20%27?a=blobdiff_plain;f=etc%2Finit.d%2Ftmpfs;h=05370f032918bc7b795a75a811f2603cd31801c6;hb=80909c24d0e4ca5061f3379852ac07b296760883;hp=adae6f3e7b87f6bd14d8aca3b3ffb87977146643;hpb=1410e40e1a425d3eb7e080180e3733dc30b586c2;p=lhc%2Fateliers.git diff --git a/etc/init.d/tmpfs b/etc/init.d/tmpfs index adae6f3..05370f0 100755 --- a/etc/init.d/tmpfs +++ b/etc/init.d/tmpfs @@ -55,6 +55,11 @@ do_start() { /run/mysqld \ /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 1771 -o root -g root \ /run/spawn-fcgi fi