paulbsd-salt/states/dip/dip.service.j2
2020-08-01 20:10:26 +02:00

13 lines
309 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 "dip/map.jinja" import dip with context %}
[Unit]
Description=DIP
After=network.target
[Service]
Type=simple
ExecStart={{ dip.install_dir }}/dip/dip -host {{ dip.host }} -port {{ dip.port }}
[Install]
WantedBy=multi-user.target