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

15 lines
310 B
Plaintext
Raw Normal View History

2023-01-07 21:04:49 +01:00
{%- from "ipblc/map.jinja" import ipblc with context -%}
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
[Unit]
Description=ipblc
2023-01-07 21:11:08 +01:00
After=network.target
2023-01-07 21:04:49 +01:00
[Service]
Type=simple
2023-11-24 19:31:51 +01:00
Restart=on-failure
RestartSec=5
2023-01-07 21:04:49 +01:00
ExecStart={{ ipblc.install_dir }}/ipblc/ipblc
[Install]
WantedBy=multi-user.target