From da154338de7cc2148deee6b9d371f0c9df6b597c Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Fri, 11 Mar 2022 10:24:04 +0100 Subject: [PATCH] fix: remove systemd service unit for container image --- Makefile | 2 -- systemd/dyndns-client-docker.service | 13 ------------- 2 files changed, 15 deletions(-) delete mode 100644 systemd/dyndns-client-docker.service diff --git a/Makefile b/Makefile index 7583634..0d2a55b 100644 --- a/Makefile +++ b/Makefile @@ -130,7 +130,6 @@ install: bin/tmp/${EXECUTABLE} install --directory ${DESTDIR}/usr/lib/systemd/system install --mode 644 systemd/${EXECUTABLE}.service ${DESTDIR}/usr/lib/systemd/system - install --mode 644 systemd/${EXECUTABLE}-docker.service ${DESTDIR}/usr/lib/systemd/system install --directory ${DESTDIR}/usr/share/licenses/${EXECUTABLE} install --mode 644 LICENSE ${DESTDIR}/usr/share/licenses/${EXECUTABLE}/LICENSE @@ -140,7 +139,6 @@ uninstall: -rm --recursive --force \ ${DESTDIR}${PREFIX}/bin/${EXECUTABLE} \ ${DESTDIR}/usr/lib/systemd/system/${EXECUTABLE}.service \ - ${DESTDIR}/usr/lib/systemd/system/${EXECUTABLE}-docker.service \ ${DESTDIR}/usr/share/licenses/${EXECUTABLE}/LICENSE # PHONY diff --git a/systemd/dyndns-client-docker.service b/systemd/dyndns-client-docker.service deleted file mode 100644 index 4235c0d..0000000 --- a/systemd/dyndns-client-docker.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=dyndns-client -Requires=docker.service network-online.target time-sync.target -After=docker.service network-online.target time-sync.target - -[Service] -Type=simple -ExecStartPre=/usr/bin/docker pull docker.io/volkerraschek/dyndns-client:latest -ExecStart=/usr/bin/docker run --name=dyndns-client --network=host --privileged --rm --volume /etc/dyndns-client:/etc/dyndns-client docker.io/volkerraschek/dyndns-client:latest -ExecStop=/usr/bin/docker stop dyndns-client - -[Install] -WantedBy=multi-user.target