diff options
author | Lasse Haugen <haugen.lasse@gmail.com> | 2019-02-12 11:02:48 +0100 |
---|---|---|
committer | Lasse Haugen <haugen.lasse@gmail.com> | 2019-02-12 11:02:48 +0100 |
commit | e945540c2f55b67119db19ed1a60ca4dbec59ace (patch) | |
tree | 563e687f7b0276bb0203a4004fda90676d827019 /ansible | |
parent | fd6a6a180a234f569b2977ae44adbc264eab4807 (diff) |
Update service file
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/roles/web/files/gondul-template.service | 5 | ||||
-rw-r--r-- | ansible/roles/web/files/template.service | 15 |
2 files changed, 3 insertions, 17 deletions
diff --git a/ansible/roles/web/files/gondul-template.service b/ansible/roles/web/files/gondul-template.service index edde9a3..148e374 100644 --- a/ansible/roles/web/files/gondul-template.service +++ b/ansible/roles/web/files/gondul-template.service @@ -1,11 +1,12 @@ [Unit] Description=Gondul Templating -Documentation=http://google.com +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/ -MountFlags=slave +ExecReload=/usr/bin/kill -HUP $MAINPID +Restart=on-failure [Install] WantedBy=multi-user.target diff --git a/ansible/roles/web/files/template.service b/ansible/roles/web/files/template.service deleted file mode 100644 index b33b8b8..0000000 --- a/ansible/roles/web/files/template.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=Gondul Templating -Documentation=http://google.com -After=network.target - -[Service] -ExecStart=/opt/gondul/templating/templating.py -h ::1 -p 8081 -MountFlags=slave -LimitNOFILE=1048576 -LimitNPROC=1048576 -LimitCORE=infinity - -[Install] -WantedBy=multi-user.target - |