17 lines
294 B
SYSTEMD
17 lines
294 B
SYSTEMD
|
[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
|