# Linux startup using systemd

**URL:** <https://forums.percona.com/t/linux-startup-using-systemd/15019>\
**Category:** MySQL & MariaDB\
**Created:** [March 31, 2022, 10:02pm UTC](https://forums.percona.com/t/linux-startup-using-systemd/15019 "2022-03-31T22:02:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zz43](https://avatars.discourse-cdn.com/v4/letter/z/e79b87/32.png) [@zz43](https://forums.percona.com/u/zz43)\
**Post date:** [March 31, 2022, 10:02pm UTC](https://forums.percona.com/t/linux-startup-using-systemd/15019/1 "2022-03-31T22:02:10Z")

</div>

Hello. I would like to know if someone have created a Percona startup using Linux systemd. The Percona have three servers in the cluster. Thank you.

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [April 1, 2022, 12:50am UTC](https://forums.percona.com/t/linux-startup-using-systemd/15019/2 "2022-04-01T00:50:02Z")

</div>

Hello @zz43,  
systemd scripts have been included with MySQL and Percona XtraDB Cluster for almost 5 years. When you install via yum/apt, these scripts are automatically installed for you. If you downloaded the binary tarball, the scripts are located there too.

---

<div class="post-metadata">

**Author:** ![zz43](https://avatars.discourse-cdn.com/v4/letter/z/e79b87/32.png) [@zz43](https://forums.percona.com/u/zz43)\
**Post date:** [April 1, 2022, 2:11am UTC](https://forums.percona.com/t/linux-startup-using-systemd/15019/3 "2022-04-01T02:11:24Z")

</div>

Hello matthewb,  
I didn’t install the software as another person did install it. In which directory do they reside? Thank you.

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [April 1, 2022, 2:14am UTC](https://forums.percona.com/t/linux-startup-using-systemd/15019/4 "2022-04-01T02:14:31Z")

</div>

`find /etc/systemd/ -name "*mysql*"` should reveal the script path

---

<div class="post-metadata">

**Author:** ![zz43](https://avatars.discourse-cdn.com/v4/letter/z/e79b87/32.png) [@zz43](https://forums.percona.com/u/zz43)\
**Post date:** [April 1, 2022, 2:20am UTC](https://forums.percona.com/t/linux-startup-using-systemd/15019/5 "2022-04-01T02:20:09Z")

</div>

Hello matthewb,  
For some reason, I don’t have any mysql file in /etc/systemd. Where can I download the install tar files? Many thanx.

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [April 1, 2022, 2:22am UTC](https://forums.percona.com/t/linux-startup-using-systemd/15019/6 "2022-04-01T02:22:35Z")

</div>

`systemctl --all -t service | grep mysql` shows nothing?

If not, then you can download the tarball from [Percona Software downloads for databases](https://www.percona.com/downloads/)

---

<div class="post-metadata">

**Author:** ![zz43](https://avatars.discourse-cdn.com/v4/letter/z/e79b87/32.png) [@zz43](https://forums.percona.com/u/zz43)\
**Post date:** [April 1, 2022, 2:27am UTC](https://forums.percona.com/t/linux-startup-using-systemd/15019/7 "2022-04-01T02:27:07Z")

</div>

Hello matthewb,  
I show no mysql service. I will download from the site. Thank you again.
