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