aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/web/files/gondul-template.service
diff options
context:
space:
mode:
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
+