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

13 lines
366 B
Plaintext
Raw Permalink 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
2024-09-11 13:33:26 +02:00
ExecStart={{ ipbl.install_dir }}/ipbl/ipbl -configfile {{ ipbl.install_dir }}/config/common.ini -port {{ ipbl.port }}
2021-12-12 19:11:24 +01:00
[Install]
2023-03-11 10:08:26 +01:00
WantedBy=multi-user.target