paulbsd-salt/states/ipbl/templates/ipbl.service.j2
Paul Lecuq a2f17ac725
All checks were successful
continuous-integration/drone/push Build is passing
updated ipbl state
2024-09-11 13:33:26 +02:00

13 lines
366 B
Django/Jinja

{%- from "ipbl/map.jinja" import ipbl with context -%}
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
[Unit]
Description=ipbl
After=network.target postgresql.service
[Service]
Type=simple
ExecStart={{ ipbl.install_dir }}/ipbl/ipbl -configfile {{ ipbl.install_dir }}/config/common.ini -port {{ ipbl.port }}
[Install]
WantedBy=multi-user.target