Browse Source

add support for postgres init scripts

main
Nicolas Massé 4 weeks ago
parent
commit
d3ab175cc9
  1. 2
      cookbooks/postgresql/hooks.mk

2
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_EXAMPLE_FILES += $(TARGET_POSTGRESQL_FILES)
$(TARGET_CHROOT)/etc/quadlets/postgresql/init.d/%.sql: other/postgresql/%.sql $(TARGET_CHROOT)/etc/quadlets/postgresql/init.d/%.sql: other/postgresql/%.sql
install -m 0600 -o 10004 -g 10000 $< $@ 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 $< $@

Loading…
Cancel
Save