aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/web/files/gondul-template.service
diff options
context:
space:
mode:
authorLasse Haugen <haugen.lasse@gmail.com>2019-02-13 22:38:48 +0100
committerGitHub <noreply@github.com>2019-02-13 22:38:48 +0100
commit1bb5fc0f3312be948d3aefaf7ab0a28fe722a656 (patch)
tree4899dd2abfb4258d18320ac5ce61c75caa187a13 /ansible/roles/web/files/gondul-template.service
parentd2b78315de847fd7bd22c4112908414ab7eb7967 (diff)
parent65be318e53ceb6f5e6022e24fd585930f4477dda (diff)
Merge pull request #201 from slinderud/master
#159 Fixed templating install, included updated varnish config, updated installing.rst and clean-up on servicefiles
Diffstat (limited to 'ansible/roles/web/files/gondul-template.service')
-rw-r--r--ansible/roles/web/files/gondul-template.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/ansible/roles/web/files/gondul-template.service b/ansible/roles/web/files/gondul-template.service
new file mode 100644
index 0000000..148e374
--- /dev/null
+++ b/ansible/roles/web/files/gondul-template.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Gondul Templating
+Documentation=https://github.com/gathering/gondul
+After=network-online.target
+
+[Service]
+ExecStart=/opt/gondul/templating/templating.py -h ::1 -p 8081 -t /opt/gondul/web/templates/
+ExecReload=/usr/bin/kill -HUP $MAINPID
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
+