[Buildroot] [git commit] package/inadyn: replace local systemd unit file with upstream
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Dec 4 22:13:00 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=3ee7c86c8dde6baadf746ee74e81eb31f1f25a66
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
If systemd is available at configure time, the inadyn configure script
detects it and generates the unit file.
Also, the local unit file had the wrong absolute path to the binary.
Signed-off-by: Joachim Wiberg <troglobit at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/inadyn/inadyn.mk | 2 +-
package/inadyn/inadyn.service | 10 ----------
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/package/inadyn/inadyn.mk b/package/inadyn/inadyn.mk
index fc04fd5f25..9ccb16ddfe 100644
--- a/package/inadyn/inadyn.mk
+++ b/package/inadyn/inadyn.mk
@@ -31,7 +31,7 @@ define INADYN_INSTALL_INIT_SYSV
endef
define INADYN_INSTALL_INIT_SYSTEMD
- $(INSTALL) -D -m 644 package/inadyn/inadyn.service \
+ $(INSTALL) -D -m 644 $(@D)/inadyn.service \
$(TARGET_DIR)/usr/lib/systemd/system/inadyn.service
endef
diff --git a/package/inadyn/inadyn.service b/package/inadyn/inadyn.service
deleted file mode 100644
index abc0a1e401..0000000000
--- a/package/inadyn/inadyn.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=DDNS client
-After=syslog.target network.target
-
-[Service]
-ExecStart=/usr/bin/inadyn
-Restart=always
-
-[Install]
-WantedBy=multi-user.target
More information about the buildroot
mailing list