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

13 lines
339 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
ExecStart={{ dip.install_dir }}/dip/dip -configfile {{ dip.install_dir }}/config/common.ini -port {{ dip.port }}
[Install]
WantedBy=multi-user.target