www-apps/keycloak-bin: new package, add 23.0.7
Signed-off-by: Federico Justus Denkena <federico.denkena@posteo.de>
This commit is contained in:
21
www-apps/keycloak-bin/files/keycloak.service
Normal file
21
www-apps/keycloak-bin/files/keycloak.service
Normal file
@@ -0,0 +1,21 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user