Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
define POSTGRESQL_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/postgresql/postgresql.service \
- $(TARGET_DIR)/etc/systemd/system/postgresql.service
+ $(TARGET_DIR)/usr/lib/systemd/system/postgresql.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
- ln -fs ../postgresql.service \
+ ln -fs ../../../../usr/lib/systemd/system/postgresql.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/postgresql.service
endef