paulbsd-salt/states/pki/templates/pki.service.j2
Paul Lecuq a3b02771a4
All checks were successful
continuous-integration/drone/push Build is passing
created templates folder on each state
2023-03-11 10:08:26 +01:00

13 lines
362 B
Django/Jinja

{%- from "pki/map.jinja" import pki with context -%}
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
[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