Template
1
0
dummy/Makefile

15 lines
338 B
Makefile
Raw Normal View History

all: build deploy update
2020-10-31 00:18:29 +01:00
build: Makefile
2021-02-11 10:24:19 +01:00
podman build -t repo.rcmd.space/dummy:latest .
podman push repo.rcmd.space/dummy:latest
2020-10-31 00:18:29 +01:00
deploy:
install -D -m 644 config/systemd/dummy.service /etc/systemd/system
systemctl daemon-reload
systemctl enable dummy.service
2021-02-03 19:10:03 +01:00
systemctl stop dummy.service
2020-10-31 00:18:29 +01:00
update:
2021-02-03 18:31:00 +01:00
systemctl restart dummy.service