mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-05-14 13:32:02 +00:00
Run as root or systemd wont accept the pidfile
This commit is contained in:
@@ -5,13 +5,10 @@ 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
|
||||
TimeoutStartSec=45
|
||||
TimeoutStartSec=30
|
||||
TimeoutStopSec=30
|
||||
LimitNOFILE=102642
|
||||
|
||||
|
||||
Reference in New Issue
Block a user