mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
3aa96c1e5a
commit
173f15e62b
@@ -85,9 +85,9 @@ endef
|
|||||||
|
|
||||||
define POSTGRESQL_INSTALL_INIT_SYSTEMD
|
define POSTGRESQL_INSTALL_INIT_SYSTEMD
|
||||||
$(INSTALL) -D -m 644 package/postgresql/postgresql.service \
|
$(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
|
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
|
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/postgresql.service
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user