title: Ubuntu run Puma and Sidekiq in background as Daemonized processes
body: <p>Two years ago I was running the following command:</p>
  <pre><code>bundle exec puma -C config/puma.rb -b unix:/home/user/site/shared/tmp/sockets/user-puma.sock -d
  bundle exec sidekiq -d
  </code></pre>
  <p>But now, after some Ubuntu updates, the <code>-d</code> flag is deprecated and I can't start the Puma and Sidekiq processes to run in background.</p>
  <p>I also tried running:</p>
  <pre><code>bundle exec puma -C config/puma.rb -b unix:/home/user/site/shared/tmp/sockets/user-puma.sock &amp;
  bundle exec sidekiq &amp;
  </code></pre>
  <p>This works only while I'm logged on the SSH, when I close the SSH connection, all processes opened with <code>&amp;</code> are closed.</p>
  <p>How can I run Puma, Sidekiq and other processes in background as Daemons?</p>