paulbsd-salt/states/qrz/qrz.service.j2

13 lines
339 B
Plaintext
Raw Normal View History

2020-07-30 14:10:22 +02:00
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
2020-07-10 00:58:55 +02:00
{%- from "qrz/map.jinja" import qrz with context %}
[Unit]
Description=QRZ
After=network.target
[Service]
Type=simple
ExecStart={{ qrz.install_dir }}/qrz/qrz -configfile {{ qrz.install_dir }}/config/common.ini -port {{ qrz.port }}
[Install]
2020-07-30 14:10:22 +02:00
WantedBy=multi-user.target