package-pipelines-miscellan.../keycloak-23/keycloak.service

23 lines
549 B
SYSTEMD
Raw Normal View History

2023-12-05 23:40:22 +01:00
[Unit]
Description=Keycloak
#Requires=mysql.service
#Requires=mariadb.service
#Requires=postgresql.service
[Service]
ExecStart=/opt/keycloak/bin/kc.sh start
Restart=always
User=keycloak
Group=keycloak
WorkingDirectory=/opt/keycloak
CapabilityBoundingSet=
[Install]
WantedBy=multi-user.target
## To clear the theme cache (use systemctl edit keycloak.service, then paste this at the top)
#[Service]
#ExecStart=
#ExecStart=/opt/keycloak/bin/kc.sh start --spi-theme-static-max-age=-1 --spi-theme-cache-themes=false --spi-theme-cache-templates=false