mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-07-30 16:41:30 -07:00
update systemd unit to use standalone.sh directly
This commit is contained in:
parent
0199e554b5
commit
7bb9647d0d
2 changed files with 11 additions and 4 deletions
|
@ -7,15 +7,14 @@ StartLimitBurst={{ keycloak_service_startlimitburst }}
|
|||
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
{% if keycloak_service_runas %}
|
||||
User={{ keycloak_service_user }}
|
||||
Group={{ keycloak_service_group }}
|
||||
{% endif -%}
|
||||
EnvironmentFile=-/etc/sysconfig/keycloak
|
||||
PIDFile={{ keycloak_service_pidfile }}
|
||||
ExecStart={{ keycloak_dest }}/keycloak-service.sh start
|
||||
ExecStop={{ keycloak_dest }}/keycloak-service.sh stop
|
||||
ExecStart={{ keycloak.home }}/bin/standalone.sh $WILDFLY_OPTS
|
||||
WorkingDirectory={{ keycloak.home }}
|
||||
TimeoutStartSec=30
|
||||
TimeoutStopSec=30
|
||||
LimitNOFILE=102642
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue