# KeyCloak 17.0.0

**URL:** <https://forum.keycloak.org/t/keycloak-17-0-0/13893>\
**Category:** Miscellanaeous\
**Created:** [February 26, 2022, 4:43am UTC](https://forum.keycloak.org/t/keycloak-17-0-0/13893 "2022-02-26T04:43:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsmith](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/gsmith/32/294_2.png) [@gsmith](https://forum.keycloak.org/u/gsmith)\
**Post date:** [February 26, 2022, 4:43am UTC](https://forum.keycloak.org/t/keycloak-17-0-0/13893/1 "2022-02-26T04:43:19Z")

</div>

To whom this may concern,

I’m impressed with the new version of Keycloak 17.

The documentation was a little difficult but manage to get through the new instructions on HowTo. The Wow factor for me was connecting it to MySQL, the older way was so tedious. Once I understood Quarkus operates it was a breeze. I think it took me 15 minutes up and running.

I should have mention the instruction used was the Bare metal installation guide. Unfortunately I don’t have a way to use localhost so my configuration were made for production installation.

 ![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/9/970913b6dad2d0b6cbc2d69da763198f333d4ede.png)

Only question I have is there any instructions/documentation for creating a service to run Keycloak or do I have to execute a script every time I reboot?

Any advice would be appreciated.

---

<div class="post-metadata">

**Author:** ![gsmith](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/gsmith/32/294_2.png) [@gsmith](https://forum.keycloak.org/u/gsmith)\
**Post date:** [February 26, 2022, 5:15am UTC](https://forum.keycloak.org/t/keycloak-17-0-0/13893/2 "2022-02-26T05:15:37Z")

</div>

This works as a service, but it seams nasty. I’m open for a newer way.

```auto
[Unit]
Description=Keycloak
After=network.target
[Service]
Type=idle
User=keycloak
Group=keycloak
ExecStart=/opt/keycloak-17.0.0/bin/kc.sh start --https-certificate-file=/opt/keycloak-17.0.0/localhost.pem --https-certificate-key-file=/opt/keycloak-17.0.0/localhost-key.pem --https-protocols=TLSv1.3,TLSv1.2 --db-url-host=127.0.0.1 --db-url-database=keycloak --db-username=keycloak --db-password=keycloak --hostname=keycloak.domain.com:8443 --hostname-strict-backchannel=true
TimeoutStartSec=600
TimeoutStopSec=600
[Install]
WantedBy=multi-user.target

```

 ![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/c/c8b0ba10e8b660f28acf85d295b585325349f55b.png)

---

<div class="post-metadata">

**Author:** ![Gonzo](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/gonzo/32/2526_2.png) [@Gonzo](https://forum.keycloak.org/u/Gonzo)\
**Post date:** [March 2, 2022, 3:27pm UTC](https://forum.keycloak.org/t/keycloak-17-0-0/13893/3 "2022-03-02T15:27:13Z")

</div>

I don’t think there is anything wrong with that approach … I just would move all the startup parameters from the “ExecStart=” line into a config file in your Keycloak subfolder “conf” so that you have better visibility and control.

---

<div class="post-metadata">

**Author:** ![gsmith](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/gsmith/32/294_2.png) [@gsmith](https://forum.keycloak.org/u/gsmith)\
**Post date:** [March 5, 2022, 1:00am UTC](https://forum.keycloak.org/t/keycloak-17-0-0/13893/5 "2022-03-05T01:00:30Z")

</div>

@Gonzo  
Thank you for the reply.  
Good idea 👍

> [@Gonzo](#):
>
> into a config file in your Keycloak subfolder “conf” so that you have better visibility and control.

I didn’t think of that.
