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

14 lines
353 B
Plaintext
Raw Permalink 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
2022-10-01 20:09:46 +02:00
WorkingDirectory={{ dip.install_dir }}/dip
2024-07-06 09:12:30 +02:00
ExecStart={{ dip.install_dir }}/dip/dip -host "{{ dip.host }}" -port {{ dip.port }}
2020-08-01 18:33:52 +02:00
[Install]
2023-03-11 10:08:26 +01:00
WantedBy=multi-user.target