From: Mike Williams Date: Fri, 20 Mar 2015 19:14:02 +0000 (-0400) Subject: postgresql: move systemd service file to /usr/lib X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=173f15e62b4539e670690a03e3a1f59a83923656;p=buildroot.git postgresql: move systemd service file to /usr/lib Signed-off-by: Mike Williams Signed-off-by: Thomas Petazzoni --- 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