diff options
author | xengineering <mail2xengineering@protonmail.com> | 2021-02-11 13:01:43 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2021-02-11 13:01:43 +0100 |
commit | bc6b03ab29703dfff857b63727657ca3127eb381 (patch) | |
tree | 009fc7df794754917ddb3fecfde8b2f739e7b1df /systemd | |
parent | 7293dae63a07ec23e779fef20fbe81104ebc7d3f (diff) | |
download | web-template-bc6b03ab29703dfff857b63727657ca3127eb381.tar web-template-bc6b03ab29703dfff857b63727657ca3127eb381.tar.zst web-template-bc6b03ab29703dfff857b63727657ca3127eb381.zip |
Refactoring: Reimplement Webroot Deployment
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/webtemplate.service.jinja2 | 14 |
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 + |