paulbsd-salt/states/pki/pki.service.j2
2021-08-19 21:15:24 +02:00

12 lines
360 B
Django/Jinja

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