Using systemd entirely for running a service
This commit is contained in:
3
Makefile
3
Makefile
@@ -1,4 +1,4 @@
|
||||
all: build deploy
|
||||
all: build deploy update
|
||||
|
||||
build: Makefile
|
||||
podman build -t dummy:latest .
|
||||
@@ -7,7 +7,6 @@ deploy:
|
||||
install -D -m 644 config/systemd/dummy.service /etc/systemd/system
|
||||
systemctl daemon-reload
|
||||
systemctl stop dummy.service
|
||||
podman run --name dummy -d dummy:latest
|
||||
systemctl enable dummy.service
|
||||
|
||||
update:
|
||||
|
Reference in New Issue
Block a user