Template
1
0
dummy/Makefile

15 lines
331 B
Makefile
Raw Normal View History

all: build deploy update
2020-10-31 00:18:29 +01:00
build: Makefile
2021-02-03 16:31:05 +01:00
podman build -t dummy:latest .
2020-10-31 00:18:29 +01:00
deploy:
docker service rm dummy || true
install -D -m 644 config/systemd/dummy.service /etc/systemd/system
podman run --name dummy -d dummy:latest
systemctl daemon-reload
systemctl enable dummy.service
2020-10-31 00:18:29 +01:00
update:
systemctl --user restart dummy.service