paulbsd-salt/states/ipblc/templates/ipblc.service.j2
2023-11-24 19:31:51 +01:00

15 lines
310 B
Django/Jinja

{%- from "ipblc/map.jinja" import ipblc with context -%}
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
[Unit]
Description=ipblc
After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=5
ExecStart={{ ipblc.install_dir }}/ipblc/ipblc
[Install]
WantedBy=multi-user.target