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]
2024-10-02 19:35:18 +02:00
Type=notify
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