2022-02-21 13:52:46 +01:00
|
|
|
|
{%- from "dip/map.jinja" import dip with context -%}
|
2020-08-01 18:33:52 +02:00
|
|
|
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
|
|
|
|
[Unit]
|
|
|
|
|
Description=DIP
|
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Type=simple
|
2022-10-01 20:09:46 +02:00
|
|
|
|
WorkingDirectory={{ dip.install_dir }}/dip
|
|
|
|
|
ExecStart={{ dip.install_dir }}/dip/dip -host "{{ dip.host }}" -port {{ dip.port }}
|
2020-08-01 18:33:52 +02:00
|
|
|
|
|
|
|
|
|
[Install]
|
2021-08-19 21:15:24 +02:00
|
|
|
|
WantedBy=multi-user.target
|