13 lines
354 B
Django/Jinja
13 lines
354 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 |