diff --git a/Makefile b/Makefile index 7c4a8a0..58fdce5 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ deploy: docker service rm dummy || true install -D -m 644 config/systemd/dummy.service /etc/systemd/system systemctl daemon-reload - systemctl stop dummy.service || true + systemctl stop dummy.service || true && podman rm -f dummy podman run --name dummy -d dummy:latest systemctl enable dummy.service diff --git a/config/systemd/dummy.service b/config/systemd/dummy.service index b71068f..2ef3b3b 100644 --- a/config/systemd/dummy.service +++ b/config/systemd/dummy.service @@ -5,7 +5,6 @@ Description=A dummy service Restart=always ExecStart=/usr/bin/podman start -a dummy ExecStop=/usr/bin/podman stop -t 2 dummy -ExecStop=/usr/bin/podman rm -f dummy [Install] WantedBy=default.target