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

14 lines
383 B
Plaintext
Raw Normal View History

{%- from "qrz/map.jinja" import qrz with context -%}
2020-07-30 14:10:22 +02:00
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
2020-07-10 00:58:55 +02:00
[Unit]
Description=QRZ
2022-01-25 00:18:23 +01:00
After=network.target postgresql.service
2020-07-10 00:58:55 +02:00
[Service]
Type=simple
2024-09-06 17:19:41 +02:00
User={{ qrz.user.name }}
2024-07-06 09:12:30 +02:00
ExecStart={{ qrz.install_dir }}/qrz/qrz -configfile {{ qrz.install_dir }}/config/common.ini -port {{ qrz.port }}
2020-07-10 00:58:55 +02:00
[Install]
2023-03-10 00:08:02 +01:00
WantedBy=multi-user.target