From d9a73a6fd9e0e8b3133853223488f5f9050b5829 Mon Sep 17 00:00:00 2001 From: fram3d Date: Tue, 16 Jan 2024 13:24:45 +0100 Subject: [PATCH] change more filenames and strings to say taskmanager instead of flaskapp --- .gitignore | 4 ++-- LICENSE | 2 +- README.md | 5 ++--- .../lib/systemd/system/taskmanager.service | 12 ++++++++++++ 4 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 build-deb/taskmanager/lib/systemd/system/taskmanager.service diff --git a/.gitignore b/.gitignore index 668d03e..fd6b384 100644 --- a/.gitignore +++ b/.gitignore @@ -24,11 +24,11 @@ dist/ downloads/ eggs/ .eggs/ -lib/ +#lib/ lib64/ parts/ sdist/ -var/ +#var/ wheels/ pip-wheel-metadata/ share/python-wheels/ diff --git a/LICENSE b/LICENSE index 9f7cc71..0327126 100644 --- a/LICENSE +++ b/LICENSE @@ -219,7 +219,7 @@ If you develop a new program, and you want it to be of the greatest possible use To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - flaskapp + taskmanager Copyright (C) 2023 Decentrala This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. diff --git a/README.md b/README.md index da1fdc7..6df5979 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ -# flaskapp - -Web app +# taskmanager +Interactive TODO list web application diff --git a/build-deb/taskmanager/lib/systemd/system/taskmanager.service b/build-deb/taskmanager/lib/systemd/system/taskmanager.service new file mode 100644 index 0000000..65e7285 --- /dev/null +++ b/build-deb/taskmanager/lib/systemd/system/taskmanager.service @@ -0,0 +1,12 @@ +[Unit] +Description=Gunicorn taskmanager service +Documentation=man:gunicorn(1) +After=network.target nss-lookup.target + +[Service] +WorkingDirectory=/var/taskmanager/ +ExecStart=/usr/bin/gunicorn --workers 3 --bind 127.0.0.1:5000 run:app + +[Install] +WantedBy=multi-user.target +