ansible-keycloak/roles/keycloak_quarkus/templates/keycloak.service.j2

15 lines
354 B
Plaintext
Raw Normal View History

2022-04-07 12:07:08 +00:00
# {{ ansible_managed }}
[Unit]
Description=Keycloak Server
After=network.target
[Service]
Type=simple
EnvironmentFile=-/etc/sysconfig/keycloak
PIDFile={{ keycloak_quarkus_service_pidfile }}
ExecStart={{ keycloak.home }}/bin/kc.sh start --auto-build --log={{ keycloak_quarkus_log }}
User={{ keycloak.service_user }}
2022-04-07 12:07:08 +00:00
[Install]
WantedBy=multi-user.target