X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Finit.d%2Ftmpfs;h=05370f032918bc7b795a75a811f2603cd31801c6;hp=adae6f3e7b87f6bd14d8aca3b3ffb87977146643;hb=80909c24d0e4ca5061f3379852ac07b296760883;hpb=1410e40e1a425d3eb7e080180e3733dc30b586c2 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