oidc-parent/deployment/roles/hydra_server/templates/hydra.service.j2

14 lines
352 B
Text
Raw Permalink Normal View History

[Unit]
Description=ORY Hydra OAuth2/OpenID Connect API server
After=network.target
Documentation=https://www.ory.sh/docs/hydra/
[Service]
ExecStart={{ hydra_home }}/bin/hydra serve all --config "{{ hydra_home }}/etc/hydra.yml"
WorkingDirectory={{ hydra_home }}
User={{ hydra_os_user }}
Group={{ hydra_os_group }}
[Install]
WantedBy=multi-user.target