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

13 lines
339 B
Django/Jinja
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- 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]
WantedBy=multi-user.target