# Yugabyted as systemd

**URL:** <https://forum.yugabyte.com/t/yugabyted-as-systemd/2917>\
**Category:** General\
**Created:** [September 17, 2024, 2:11am UTC](https://forum.yugabyte.com/t/yugabyted-as-systemd/2917 "2024-09-17T02:11:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@Elke](https://forum.yugabyte.com/u/Elke)\
**Post date:** [September 17, 2024, 2:11am UTC](https://forum.yugabyte.com/t/yugabyted-as-systemd/2917/1 "2024-09-17T02:11:37Z")

</div>

Hi,  
Is it possible to configure yugabyted as systemd  
I want Yugabyte automatically start after server reboot

And Does Yugabyte support store Tserver/Master log into single logfile instead of generating new log file after restart  
Thanks

---

<div class="post-metadata">

**Author:** ![dorian\_yugabyte](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/dorian_yugabyte/32/206_2.png) [@dorian\_yugabyte](https://forum.yugabyte.com/u/dorian_yugabyte)\
**Post date:** [September 17, 2024, 6:48am UTC](https://forum.yugabyte.com/t/yugabyted-as-systemd/2917/2 "2024-09-17T06:48:02Z")

</div>

Hi @Elke

Please see [How to run YugabyteDB with systemd? - Stack Overflow](https://stackoverflow.com/questions/66758233/how-to-run-yugabytedb-with-systemd)

> [@Elke](#):
>
> And Does Yugabyte support store Tserver/Master log into single logfile instead of generating new log file after restart

Can you be more clear? See logging settings [yb-tserver configuration reference | YugabyteDB Docs](https://docs.yugabyte.com/preview/reference/configuration/yb-tserver/#logging-flags) and [Inspect logs | YugabyteDB Docs](https://docs.yugabyte.com/preview/troubleshoot/nodes/check-logs/)

---

<div class="post-metadata">

**Author:** ![FranckPachot](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/franckpachot/32/353_2.png) [@FranckPachot](https://forum.yugabyte.com/u/FranckPachot)\
**Post date:** [September 17, 2024, 4:22pm UTC](https://forum.yugabyte.com/t/yugabyted-as-systemd/2917/4 "2024-09-17T16:22:16Z")

</div>

> [@Elke](#):
>
> Is it possible to configure yugabyted as systemd

Hi Elke, by default `yugabyted start` goes into the background. When running it with docker or I guess systemd, you can `yugabyted start --background=false`
