fd-gentoo/www-apps/keycloak-bin/files/keycloak.service
Federico Justus Denkena 9ec1b49987
www-apps/keycloak-bin: new package, add 23.0.7
Signed-off-by: Federico Justus Denkena <federico.denkena@posteo.de>
2024-03-02 14:31:14 +01:00

22 lines
401 B
Desktop File

[Unit]
Description=keycloak daemon
After=syslog.target
After=network.target
[Service]
Type=simple
ExecStart=/opt/keycloak-bin/bin/kc.sh start --optimized
Restart=always
RestartSec=5
# Optional security enhancements
NoNewPrivileges=yes
PrivateTmp=yes
ProtectSystem=strict
ProtectHome=yes
ReadWritePaths=/var/lib/keycloak
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target