paulbsd-salt/states/pki/pki.service.j2
2020-11-30 22:28:24 +01:00

13 lines
361 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