ansible-ffibk/roles/service-yanic/templates/yanic.service.j2
2018-09-18 12:48:07 +02:00

18 lines
368 B
Django/Jinja

[Unit]
Description=Yanic - Yet another node info collector
Documentation=https://github.com/FreifunkBremen/yanic
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User={{ yanic_user }}
Group={{ yanic_user }}
ExecStart={{ yanic_path }} serve --config {{ yanic_config }}
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target