From 030289be0926c7abe7f9c39bf2083cc39f152f42 Mon Sep 17 00:00:00 2001 From: Settel Date: Tue, 29 Apr 2025 07:31:44 +0200 Subject: [PATCH] feat: run in background --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bf6635d..a0aff57 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ VERSION=1.2 SHELL=/bin/bash PROFILE=diva-e +OPT= .PHONY: info @@ -11,8 +12,11 @@ info: build: podman build -t teams-pwa:$(VERSION) . +run-bg: + $(MAKE) run OPT="-d" + run: - podman run -it \ + podman run $(OPT) -it \ --rm \ --net host \ --memory 2048mb \ @@ -27,8 +31,11 @@ run: --device /dev/snd \ --device /dev/dri \ -v /dev/shm:/dev/shm \ - --name teams-pwa \ + --name teams-pwa-$(PROFILE) \ teams-pwa:$(VERSION) +stop: + podman stop teams-pwa-$(PROFILE) + clean: @echo "nothing to do (yet)"