# How is Sidekiq started?

**URL:** https://meta.discourse.org/t/how-is-sidekiq-started/192053
**Category:** Development
**Created:** [May 29, 2021, 8:45pm UTC](https://meta.discourse.org/t/how-is-sidekiq-started/192053 "2021-05-29T20:45:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![supercobra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supercobra/32/121142_2.png) [@supercobra](https://meta.discourse.org/u/supercobra)
#### Post date: [May 29, 2021, 8:45pm UTC](https://meta.discourse.org/t/how-is-sidekiq-started/192053/1 "2021-05-29T20:45:22Z")

</div>

Can someone indicate how sidekiq is starting when we run `rails server`? I looked everywhere in the code and can’t figure it out.

---

<div class="post-metadata">

### Author: ![michaeld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaeld/32/1594_2.png) [@michaeld](https://meta.discourse.org/u/michaeld)
#### Post date: [May 30, 2021, 5:04am UTC](https://meta.discourse.org/t/how-is-sidekiq-started/192053/2 "2021-05-30T05:04:49Z")

</div>

Here [https://github.com/discourse/discourse/blob/master/config/unicorn.conf.rb#L92](https://github.com/discourse/discourse/blob/master/config/unicorn.conf.rb#L92)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 3, 2021, 2:05am UTC](https://meta.discourse.org/t/how-is-sidekiq-started/192053/3 "2021-06-03T02:05:35Z")

</div>

General recommendation in dev is just to use:

```plaintext
bin/unicorn

```

and then in another window:

```plaintext
bin/ember-cli

```

The unicorn wrapper ensure a Sidekiq process is started.
