14 lines
353 B
Django/Jinja
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
|