From 173f15e62b4539e670690a03e3a1f59a83923656 Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Fri, 20 Mar 2015 15:14:02 -0400 Subject: [PATCH] postgresql: move systemd service file to /usr/lib Signed-off-by: Mike Williams Signed-off-by: Thomas Petazzoni --- package/postgresql/postgresql.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk index 7bb16787e9..bc382ce50a 100644 --- a/package/postgresql/postgresql.mk +++ b/package/postgresql/postgresql.mk @@ -85,9 +85,9 @@ endef 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 -- 2.30.2