2021-12-14 10:26:42 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Keycloak Server
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
EnvironmentFile=-/etc/sysconfig/keycloak
|
|
|
|
|
|
|
|
User={{ keycloak_service_user }}
|
|
|
|
Group={{ keycloak_service_group }}
|
|
|
|
PIDFile={{ keycloak_service_pidfile }}
|
|
|
|
ExecStart={{ keycloak_dest }}/keycloak-service.sh start
|
|
|
|
ExecStop={{ keycloak_dest }}/keycloak-service.sh stop
|
2021-12-14 15:12:26 +00:00
|
|
|
TimeoutStartSec=45
|
2021-12-14 14:37:58 +00:00
|
|
|
TimeoutStopSec=30
|
2021-12-14 10:26:42 +00:00
|
|
|
LimitNOFILE=102642
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|