paulbsd-salt/states/dip/dip.service.j2

13 lines
309 B
Plaintext
Raw Normal View History

2020-08-01 18:33:52 +02:00
## {{ 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
2020-08-01 20:10:26 +02:00
ExecStart={{ dip.install_dir }}/dip/dip -host {{ dip.host }} -port {{ dip.port }}
2020-08-01 18:33:52 +02:00
[Install]
WantedBy=multi-user.target