paulbsd-salt/states/dip/templates/dip.service.j2
Paul Lecuq ac5336e65c
All checks were successful
continuous-integration/drone/push Build is passing
remove non breaking spaces
2024-07-06 09:12:30 +02:00

14 lines
353 B
Django/Jinja

{%- from "dip/map.jinja" import dip with context -%}
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
[Unit]
Description=DIP
After=network.target
[Service]
Type=simple
WorkingDirectory={{ dip.install_dir }}/dip
ExecStart={{ dip.install_dir }}/dip/dip -host "{{ dip.host }}" -port {{ dip.port }}
[Install]
WantedBy=multi-user.target