Message ID | 20211122020804.535891-4-troglobit@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | package/inadyn: bump version, script refactor, etc. | expand |
On Mon, 22 Nov 2021 03:08:02 +0100 Joachim Wiberg <troglobit@gmail.com> wrote: > 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> > --- > package/inadyn/inadyn.mk | 2 +- > package/inadyn/inadyn.service | 10 ---------- > 2 files changed, 1 insertion(+), 11 deletions(-) > delete mode 100644 package/inadyn/inadyn.service Applied to next, thanks. Thomas
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
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> --- package/inadyn/inadyn.mk | 2 +- package/inadyn/inadyn.service | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 package/inadyn/inadyn.service