oidc-parent/deployment/roles/oidc_idp/templates/cacert-idp.service.j2
Jan Dittberner 2bfa210140 Add oidc_idp role
- Deploy cacert-idp from oidc_idp subdirectory
- configure systemd and start cacert-idp service
2022-08-19 16:40:52 +02:00

14 lines
363 B
Django/Jinja

[Unit]
Description=CAcert OpenID Connect identity provider
After=network.target
Documentation=https://code.cacert.org/cacert/oidc-idp
[Service]
ExecStart={{ cacert_home }}/bin/cacert-idp --conf "{{ cacert_home }}/etc/cacert-idp.toml"
WorkingDirectory={{ cacert_home }}
User={{ cacert_os_user }}
Group={{ cacert_os_group }}
[Install]
WantedBy=multi-user.target