2022-02-21 13:52:46 +01:00
|
|
|
|
{%- 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]
|
|
|
|
|
WantedBy=multi-user.target
|