quark.service.j2 - ansible-roles - A collection of ansible roles I have created over the years.
(HTM) git clone git://jay.scot/ansible-roles
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
quark.service.j2 (330B)
---
1 [Unit]
2 Description=Quark suckless web server
3
4 [Service]
5 Type=simple
6 Restart=on-failure
7
8 WorkingDirectory={{ quark.html_path }}
9 ExecStart={{ quark.install_path }}/quark -p {{ quark.port }} -u {{ quark.user }} -g {{ quark.group }} -i {{ quark.file }} -n {{ quark.threads }} -h {{ quark.host }}
10
11 [Install]
12 WantedBy=multi-user.target