From bc6b03ab29703dfff857b63727657ca3127eb381 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 11 Feb 2021 13:01:43 +0100 Subject: Refactoring: Reimplement Webroot Deployment --- systemd/webtemplate.service.jinja2 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 systemd/webtemplate.service.jinja2 (limited to 'systemd/webtemplate.service.jinja2') 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 + -- cgit v1.2.3-70-g09d2