paulbsd-salt/states/ipbl/ipbl.service.j2
2021-12-12 19:11:24 +01:00

12 lines
346 B
Django/Jinja
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "ipbl/map.jinja" import ipbl with context %}
[Unit]
Description=ipbl
After=network.target
[Service]
Type=simple
ExecStart={{ ipbl.install_dir }}/ipbl/ipbl -configfile {{ ipbl.install_dir }}/config/common.ini -port {{ ipbl.port }}
[Install]
WantedBy=multi-user.target