14 lines
352 B
Text
14 lines
352 B
Text
|
[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
|