Hi,
I’ve configured Keycloak 12.0 on a CentOS 7 machine.
Everything works great when I execute the script standalone.sh as follow :
sudo /opt/keycloak/bin/standalone.sh -c standalone-ha.xml -Djboss.node.name=keycloak-app-lab-vm-2 -Djboss.site.name=site2 -Dremote.cache.host=172.16.33.169 -b 172.16.33.159
But when I try to execute the command through a service with systemd, it doesn’t work. My service keep getting stopped by OS signal, comming from systemd.
My Unit file :
[Unit]
Description=Keycloak Application Server
After=syslog.target network.target
[Service]
Type=idle
User=wildfly
Group=wildfly
LimitNOFILE=102642
ExecStart=/opt/keycloak/bin/standalone.sh -c standalone-ha.xml -Djboss.node.name=keycloak-app-lab-vm-2 -Djboss.site.name=site2 -Dremote.cache.host=172.16.33.169 -b 172.16.33.159
StandardOutput=null
[Install]
WantedBy=multi-user.target
Logs :
Ask me if you need more informations,
Thanks
