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

12 lines
365 B
Plaintext
Raw Normal View History

2021-12-12 19:11:24 +01:00
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "ipbl/map.jinja" import ipbl with context %}
[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]
WantedBy=multi-user.target