Template
1
0

Implemented container replacement

This commit is contained in:
Azer Abdullaev 2021-02-03 18:39:08 +01:00
parent c1a2971edf
commit 7b6e6bac89

View File

@ -6,6 +6,7 @@ build: Makefile
deploy: deploy:
docker service rm dummy || true docker service rm dummy || true
install -D -m 644 config/systemd/dummy.service /etc/systemd/system install -D -m 644 config/systemd/dummy.service /etc/systemd/system
podman stop dummy || true && podman rm dummy || true
podman run --name dummy -d dummy:latest podman run --name dummy -d dummy:latest
systemctl daemon-reload systemctl daemon-reload
systemctl enable dummy.service systemctl enable dummy.service