From d3ab175cc9d2e2b104084fe904196ec854c61edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Tue, 26 May 2026 18:55:22 +0000 Subject: [PATCH] add support for postgres init scripts --- cookbooks/postgresql/hooks.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbooks/postgresql/hooks.mk b/cookbooks/postgresql/hooks.mk index d17388d..f1ff60f 100644 --- a/cookbooks/postgresql/hooks.mk +++ b/cookbooks/postgresql/hooks.mk @@ -3,3 +3,5 @@ TARGET_POSTGRESQL_FILES = $(patsubst other/postgresql/%, $(TARGET_CHROOT)/etc/qu TARGET_EXAMPLE_FILES += $(TARGET_POSTGRESQL_FILES) $(TARGET_CHROOT)/etc/quadlets/postgresql/init.d/%.sql: other/postgresql/%.sql install -m 0600 -o 10004 -g 10000 $< $@ +$(TARGET_CHROOT)/etc/quadlets/postgresql/init.d/%.sh: other/postgresql/%.sh + install -m 0700 -o 10004 -g 10000 $< $@