aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorLasse Haugen <haugen.lasse@gmail.com>2019-02-12 09:58:27 +0100
committerLasse Haugen <haugen.lasse@gmail.com>2019-02-12 09:58:27 +0100
commitf20c48db1b51d2c44eb62756326edfb9ec1cfbd0 (patch)
tree3fa4f748aaae14e93d121e92e54f49bd22008b05 /ansible
parentf1526d1b25cd04f3857d754f7e98d0729fe1cc49 (diff)
Added path to templates
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/web/files/gondul-template.service15
1 files changed, 15 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..7a2a231
--- /dev/null
+++ b/ansible/roles/web/files/gondul-template.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Gondul Templating
+Documentation=http://google.com
+After=network-online.target
+
+[Service]
+ExecStart=/opt/gondul/templating/templating.py -h ::1 -p 8081 -t /opt/gondul/web/templates/
+MountFlags=slave
+LimitNOFILE=1048576
+LimitNPROC=1048576
+LimitCORE=infinity
+
+[Install]
+WantedBy=multi-user.target
+