summaryrefslogtreecommitdiff
path: root/src/config.ini
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-03-07 09:59:14 +0100
committerxengineering <mail2xengineering@protonmail.com>2021-03-07 09:59:14 +0100
commit47b30cea327420ed6f17ccc6fd521ad89f4b4e4f (patch)
treea354a4adc5f6d2f004890750201f958db9e6a372 /src/config.ini
parentf48ce5deb19d83e6d5e87f51c59e538f4b66d79e (diff)
downloadweb-template-47b30cea327420ed6f17ccc6fd521ad89f4b4e4f.tar
web-template-47b30cea327420ed6f17ccc6fd521ad89f4b4e4f.tar.zst
web-template-47b30cea327420ed6f17ccc6fd521ad89f4b4e4f.zip
Add Makefiles and implement Config Parser in server.py
Diffstat (limited to 'src/config.ini')
-rw-r--r--src/config.ini20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/config.ini b/src/config.ini
index 2a67194..c91e9ce 100644
--- a/src/config.ini
+++ b/src/config.ini
@@ -1,5 +1,23 @@
+; This section is for the configuration of xengineerings web-template.
+; You can use additional sections for other purposes.
[web-template]
+
+; Choose a project_name containing only characters and underscores.
+; This project_name is used for the systemd service of your
+; application (/etc/systemd/system/<project_name>.service) and the
+; folder in /opt where your application is deployed
+; (/opt/<project_name>/).
project_name=my_web_server
-friendly_project_name=My first web Server
+
+; Choose a project_description to be used for the systemd unit.
+project_description=A template for Web Applications
+
+; Select a linux user and group for execution
+user=http
+group=http
+
+; Select an IP address and port to bind to.
+address=127.0.0.1
+port=8080