# How to run apm with --dameon

**URL:** <https://discuss.elastic.co/t/how-to-run-apm-with-dameon/245528>\
**Category:** APM\
**Tags:** server\
**Created:** [August 19, 2020, 6:34am UTC](https://discuss.elastic.co/t/how-to-run-apm-with-dameon/245528 "2020-08-19T06:34:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jack8](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@jack8](https://discuss.elastic.co/u/jack8)\
**Post date:** [August 19, 2020, 6:34am UTC](https://discuss.elastic.co/t/how-to-run-apm-with-dameon/245528/1 "2020-08-19T06:34:11Z")

</div>

How to run apm server with "--dameon"

---

<div class="post-metadata">

**Author:** ![axw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/axw/32/28197_2.png) [@axw](https://discuss.elastic.co/u/axw)\
**Post date:** [August 19, 2020, 7:08am UTC](https://discuss.elastic.co/t/how-to-run-apm-with-dameon/245528/2 "2020-08-19T07:08:25Z")

</div>

There is no `--daemon` flag, and `apm-server` does not support daemonising itself.

What system are you running apm-server on? If you install the RPM or Debian package on a supported Linux OS, then you can use `systemctl` to run apm-server as a service: [https://www.elastic.co/guide/en/apm/server/current/running-with-systemd.html#\_start\_and\_stop\_apm\_server](https://www.elastic.co/guide/en/apm/server/current/running-with-systemd.html#_start_and_stop_apm_server)

---

<div class="post-metadata">

**Author:** ![jack8](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@jack8](https://discuss.elastic.co/u/jack8)\
**Post date:** [August 19, 2020, 7:17am UTC](https://discuss.elastic.co/t/how-to-run-apm-with-dameon/245528/3 "2020-08-19T07:17:06Z")

</div>

thx.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 9, 2020, 3:17am UTC](https://discuss.elastic.co/t/how-to-run-apm-with-dameon/245528/4 "2020-09-09T03:17:07Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
