paulbsd-salt/states/qrz/templates/qrz.service.j2
Paul 2fd7a06640
All checks were successful
continuous-integration/drone/push Build is passing
updated qrz state
2024-09-06 17:19:41 +02:00

14 lines
383 B
Django/Jinja

{%- from "qrz/map.jinja" import qrz with context -%}
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
[Unit]
Description=QRZ
After=network.target postgresql.service
[Service]
Type=simple
User={{ qrz.user.name }}
ExecStart={{ qrz.install_dir }}/qrz/qrz -configfile {{ qrz.install_dir }}/config/common.ini -port {{ qrz.port }}
[Install]
WantedBy=multi-user.target