2021-02-03 19:08:09 +01:00
|
|
|
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:
|
2021-02-03 18:27:45 +01:00
|
|
|
install -D -m 644 config/systemd/dummy.service /etc/systemd/system
|
2021-02-03 18:53:39 +01:00
|
|
|
systemctl daemon-reload
|
2021-02-03 18:27:45 +01:00
|
|
|
systemctl enable dummy.service
|
2021-02-03 19:10:03 +01:00
|
|
|
systemctl stop dummy.service
|
2021-02-03 18:27:45 +01:00
|
|
|
|
2020-10-31 00:18:29 +01:00
|
|
|
update:
|
2021-02-03 18:31:00 +01:00
|
|
|
systemctl restart dummy.service
|