Template
1
0
dummy/Makefile
2021-02-03 19:08:09 +01:00

14 lines
280 B
Makefile

all: build deploy update
build: Makefile
podman build -t dummy:latest .
deploy:
install -D -m 644 config/systemd/dummy.service /etc/systemd/system
systemctl daemon-reload
systemctl stop dummy.service
systemctl enable dummy.service
update:
systemctl restart dummy.service