X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Finit.d%2Ftmpfs;h=a80f6bc104be820391a994f6d23e3d8d0aab17f3;hp=05370f032918bc7b795a75a811f2603cd31801c6;hb=81e7625eeb788b2de846fe3ab1ce58c1c03f43a0;hpb=135dd5935139bd9a072ae5073779ab5488ecbeb6 diff --git a/etc/init.d/tmpfs b/etc/init.d/tmpfs index 05370f0..a80f6bc 100755 --- a/etc/init.d/tmpfs +++ b/etc/init.d/tmpfs @@ -56,9 +56,8 @@ 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 sudo install -d -m 1771 -o root -g root \ /run/spawn-fcgi