geomyidae.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
---
geomyidae.service.j2 (359B)
---
1 [Unit]
2 Description=Geomyidae Gopher Server
3 After=network.target
4 Wants=network.target
5 StartLimitBurst=5
6 StartLimitIntervalSec=1
7
8 [Service]
9 Type=forking
10 Restart=on-abnormal
11 RestartSec=1
12 User=root
13 ExecStart=/usr/local/bin/geomyidae -v 0 -b {{ geomyidae.root_path }} -p 70 -n -u {{ geomyidae.user }} -g {{ geomyidae.group }}
14
15 [Install]
16 WantedBy=multi-user.target