diff options
author | Mike Williams <mike@mikebwilliams.com> | 2015-03-20 15:14:02 -0400 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-03-20 20:39:26 +0100 |
commit | 173f15e62b4539e670690a03e3a1f59a83923656 (patch) | |
tree | c447d2406c530edd03b0b017dc2c5f250bc35075 /package/postgresql/postgresql.mk | |
parent | 3aa96c1e5ad51c9dfb3a50af8ef1fc958d7f655f (diff) | |
download | buildroot-173f15e62b4539e670690a03e3a1f59a83923656.tar.gz buildroot-173f15e62b4539e670690a03e3a1f59a83923656.zip |
postgresql: move systemd service file to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/postgresql/postgresql.mk')
-rw-r--r-- | package/postgresql/postgresql.mk | 4 |
1 files 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 |