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

12 lines
309 B
Plaintext
Raw Normal View History

{%- 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
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]
2021-08-19 21:15:24 +02:00
WantedBy=multi-user.target