summaryrefslogtreecommitdiff
path: root/systemd/webtemplate.service.jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/webtemplate.service.jinja2')
-rw-r--r--systemd/webtemplate.service.jinja214
1 files changed, 14 insertions, 0 deletions
diff --git a/systemd/webtemplate.service.jinja2 b/systemd/webtemplate.service.jinja2
new file mode 100644
index 0000000..6861b57
--- /dev/null
+++ b/systemd/webtemplate.service.jinja2
@@ -0,0 +1,14 @@
+
+[Unit]
+Description={{ project_description }}
+After=network.target
+
+[Service]
+User={{ user }}
+Group={{ group }}
+WorkingDirectory={{ web_framework_installation_path }}/{{ project_name }}/
+ExecStart={{ web_framework_installation_path }}/{{ project_name }}/{{ project_name }}
+
+[Install]
+WantedBy=multi-user.target
+