Explorar o código

package/inadyn: replace local systemd unit file with upstream

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@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Joachim Wiberg %!s(int64=3) %!d(string=hai) anos
pai
achega
3ee7c86c8d
Modificáronse 2 ficheiros con 1 adicións e 11 borrados
  1. 1 1
      package/inadyn/inadyn.mk
  2. 0 10
      package/inadyn/inadyn.service

+ 1 - 1
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
 

+ 0 - 10
package/inadyn/inadyn.service

@@ -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