mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-07-30 08:31:39 -07:00
Run as root or systemd wont accept the pidfile
This commit is contained in:
parent
210d3ebf4d
commit
c7940e4f58
3 changed files with 8 additions and 29 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue