diff --git a/Makefile b/Makefile deleted file mode 100644 index 096d6f1..0000000 --- a/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -.PHONY: serve build -serve: build - docker run --name wgui -v "$(PWD)/db:/app/db" -it --rm -p5000:5000 wgui -disable-login -build: - docker build -t wgui . diff --git a/custom/css/darkmode.css b/custom/css/darkmode.css index d8c5427..6c36fce 100644 --- a/custom/css/darkmode.css +++ b/custom/css/darkmode.css @@ -92,11 +92,4 @@ .table-success { color: #000000; } - /* Customize Server Interface Addresses */ - div.tagsinput input:focus { - color: #ffffff !important; - } - div.tagsinput input { - color: #cde69c !important; - } } diff --git a/init.sh b/init.sh index 25e363a..a66e157 100755 --- a/init.sh +++ b/init.sh @@ -18,6 +18,6 @@ case $WGUI_MANAGE_RESTART in (1|t|T|true|True|TRUE) done & esac +./wg-ui & trap 'kill 0; exit 0;' SIGTERM INT EXIT -./wg-ui "$@" & wait $!