paulbsd-salt/states/ipbl/templates/ipbl.service.j2
Paul Lecuq 86f1134ef8
Some checks failed
continuous-integration/drone/push Build is failing
updated ipbl state
2024-07-06 09:00:45 +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