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

13 lines
367 B
Plaintext
Raw Normal View History

{%- from "ipbl/map.jinja" import ipbl with context -%}
2021-12-12 19:11:24 +01:00
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
[Unit]
Description=ipbl
2022-01-25 00:17:51 +01:00
After=network.target postgresql.service
2021-12-12 19:11:24 +01:00
[Service]
Type=simple
ExecStart={{ ipbl.install_dir }}/ipbl/ipbl -configfile {{ ipbl.install_dir }}/config/common.ini -port {{ ipbl.port }}
[Install]
2023-03-11 10:08:26 +01:00
WantedBy=multi-user.target