<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="84515" data-post-id="84515">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="happysalada" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/happysalada/120/10803_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  happysalada
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/nobbz" rel="nofollow">@NobbZ</a> thank you for taking time to look at this.<br>
Somebody pointed to me that in the systemd config file it shouldn’t be Type=forked but Type=forking.<br>
I changed that and used absolute path. Now I get the following error</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">ubject: Unit union.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit union.service has finished starting up.
--
-- The start-up result is done.
Jun 08 14:58:45 union-staging run_erl[31042]: Erlang closed the connection.
Jun 08 14:58:46 union-staging union[31472]: ==&gt; Generated sys.config in /test/union/var
Jun 08 14:58:46 union-staging systemd[1]: union.service: control process exited, code=exited status=1
Jun 08 14:58:46 union-staging union[31472]: Node union@127.0.0.1 is not running!
Jun 08 14:58:46 union-staging systemd[1]: Unit union.service entered failed state.
Jun 08 14:58:46 union-staging systemd[1]: union.service failed.
Jun 08 14:58:51 union-staging systemd[1]: union.service holdoff time over, scheduling restart.
Jun 08 14:58:51 union-staging systemd[1]: Starting Union Servers...
-- Subject: Unit union.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit union.service has begun starting up.
Jun 08 14:58:53 union-staging union[31766]: ==&gt; Generated sys.config in /test/union/var
Jun 08 14:58:53 union-staging systemd[1]: PID file /test/union/union.prod.pid not readable (yet?) after start.
</code></pre>
<p>Did anybody ever encounter that not readable yet pid file ?</p>
<p>for the pid_file application I use<br>
<code>config :pid_file, file: System.get_env("PIDFILE")</code><br>
and use conform for environment variables with <code>PIDFILE="/test/union/union.prod.pid"</code></p>
<p>I forgot to mention that if I use the bin script directly, then it works like a charm<br>
<code>/test/union/bin/union start</code></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="84515" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pidfile-create-and-manage-a-pid-file-from-the-beam-process/7620/23">Post #22</a>
	                </div>
	            </div>
              <div id="likers-container-84515" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="84515"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #22"></div>
  </section>
</div>
    <div class="postbit" id="84519" data-post-id="84519">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="NobbZ" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/NobbZ/120/27235_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  NobbZ
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group quote-modified" data-username="happysalada" data-post="23" data-topic="7620">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/happysalada/48/10803_2.png" class="avatar"> happysalada:</div>
<blockquote>
<p>config :pid_file, file: System.get_env(“PIDFILE”)</p>
</blockquote>
</aside>
<p>Is <code>$PIDFILE</code> set during compilation? Please use the form as exampled in the documentation of <code>:pid_file</code>:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">config :pid_file, file:  {:SYSTEM, "PIDFILE"}
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="84519" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pidfile-create-and-manage-a-pid-file-from-the-beam-process/7620/24">Post #23</a>
	                </div>
	            </div>
              <div id="likers-container-84519" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="84519"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #23"></div>
  </section>
</div>
    <div class="postbit" id="84553" data-post-id="84553">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="OvermindDL1" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/OvermindDL1/120/2677_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  OvermindDL1
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Continueing what <a class="mention" href="/u/nobbz" rel="nofollow">@NobbZ</a> last said, if you are using the :SYSTEM tuple then be sure to set the PIDFILE in the ENVIRONMENT in the systemd file too as it will grab that at load time.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="84553" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pidfile-create-and-manage-a-pid-file-from-the-beam-process/7620/25">Post #24</a>
	                </div>
	            </div>
              <div id="likers-container-84553" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="84553"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #24"></div>
  </section>
</div>
    <div class="postbit" id="85074" data-post-id="85074">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="happysalada" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/happysalada/120/10803_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  happysalada
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>so looking under the release_folder/var/logs, I find that when starting with systemctl, the database variable seem to be missing</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">** (RuntimeError) Connect raised a KeyError error. The exception details are hidden, as^M
they may contain sensitive data such as database credentials.^M
^M
    (elixir) lib/keyword.ex:377: Keyword.fetch!/2^M
    (postgrex) lib/postgrex/protocol.ex:98: Postgrex.Protocol.connect/1^M
    (db_connection) lib/db_connection/connection.ex:135: DBConnection.Connection.connect/2^M
    (connection) lib/connection.ex:622: Connection.enter_connect/5^M
    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3^M
</code></pre>
<p>I don’t understand why I am able to start the service with the bin script start like<br>
<code>/test/union/bin/union start</code> and why when I do it with systemctl the db variable is missing.</p>
<p>when I check the sys.config file (file generated after every start by conform <a href="https://github.com/bitwalker/conform" class="inline-onebox" rel="noopener nofollow ugc">GitHub - bitwalker/conform: Easy, powerful, and extendable configuration tooling for releases. · GitHub</a>), I can see that all my environment variables are there.</p>
<p>I’m using conform for environment variable. That is why I haven’t used the system tuple instead of the simple system.get_env. Isn’t conform for not having to use the system tuple ?</p>
<p>I’m guessing that both of you don’t use conform and recommend going with the system tuple everywhere in the app ? (just wondering what’s the best way to do this)</p>
<p>If I use the <code>foreground</code> bin script for execstart then it starts, but fails after the starttimeout (whether I set <code>RemainAfterExit</code> to yes or to no</p>
<p>I had one more question over the benefit of using systemctl. The benefit in this case is to restart in case the erlang VM crashes, correct ? I thought that unless you do something seriously wrong (calling bad NIFs), the chance of the BEAM crashing are almost non existent ? (I could be very wrong on this, this is why I’m asking)</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="85074" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pidfile-create-and-manage-a-pid-file-from-the-beam-process/7620/26">Post #25</a>
	                </div>
	            </div>
              <div id="likers-container-85074" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="85074"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #25"></div>
  </section>
</div>
    <div class="postbit" id="85082" data-post-id="85082">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="NobbZ" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/NobbZ/120/27235_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  NobbZ
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="happysalada" data-post="26" data-topic="7620">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/happysalada/48/10803_2.png" class="avatar"> happysalada:</div>
<blockquote>
<p>I’m guessing that both of you don’t use conform</p>
</blockquote>
</aside>
<p>No, I don’t. I don’t even use distillery at the moment…</p>
<aside class="quote no-group" data-username="happysalada" data-post="26" data-topic="7620">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/happysalada/48/10803_2.png" class="avatar"> happysalada:</div>
<blockquote>
<p>Isn’t conform for not having to use the system tuple ?</p>
</blockquote>
</aside>
<p>I’d say, its more to get a unified interface to have runtime configuration.</p>
<aside class="quote no-group" data-username="happysalada" data-post="26" data-topic="7620">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/happysalada/48/10803_2.png" class="avatar"> happysalada:</div>
<blockquote>
<p>with the system tuple everywhere in the app ?</p>
</blockquote>
</aside>
<p>Not at all, to be honest. Its not available everywhere, used differently through various implementations (sometimes <code>:system</code>, sometimes <code>:System</code>, or even <code>:SYSTEM</code>, etc).</p>
<p>If I remember correctly, some kind of startup hook was introduced to set up configuration during application startup, but I can’t find its documentation right now.</p>
<aside class="quote no-group" data-username="happysalada" data-post="26" data-topic="7620">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/happysalada/48/10803_2.png" class="avatar"> happysalada:</div>
<blockquote>
<p>The benefit in this case is to restart in case the erlang VM crashes, correct ?</p>
</blockquote>
</aside>
<p>Thats <strong>a</strong> benefit, not <strong>the</strong>.</p>
<p>Using systemd does ensure that services you depend on are started before yours (eg. postgres and network) if you write the unit-file correctly. It ensures that your service is restarted after a system reboot if the service is properly enabled.</p>
<p>And to be honest, how easy it is to crash the BEAM, depends on where in your supervision tree a irrecoverable crash occurs. Due to bubbling restarts, a long time outage of the database connection might bring your application down.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="85082" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pidfile-create-and-manage-a-pid-file-from-the-beam-process/7620/27">Post #26</a>
	                </div>
	            </div>
              <div id="likers-container-85082" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="85082"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #26"></div>
  </section>
</div>
    <div class="postbit" id="85095" data-post-id="85095">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dch" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dch/120/2682_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dch
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Having used heart in production for about 8 years I can safely say it has been more of a hassle than it’s worth - trying to persuade the heart+erlang runtime that it’s time to shut down cleanly without each of them restarting the other is always painful. I can count the number of times I’ve needed heart to restart a hung vm on the fingers of one hand.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="85095" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pidfile-create-and-manage-a-pid-file-from-the-beam-process/7620/28">Post #27</a>
	                </div>
	            </div>
              <div id="likers-container-85095" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="85095"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #27"></div>
  </section>
</div>
    <div class="postbit" id="85135" data-post-id="85135">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="OvermindDL1" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/OvermindDL1/120/2677_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  OvermindDL1
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>No clue about Conform, haven’t used it, but it absolutely should work with daemon releases, especially as the same author made both Conform and Distillery, might be a bug that needs to be reported to them?  Try running the release backgrounded manually first?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="85135" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pidfile-create-and-manage-a-pid-file-from-the-beam-process/7620/29">Post #28</a>
	                </div>
	            </div>
              <div id="likers-container-85135" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="85135"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #28"></div>
  </section>
</div>
    <div class="postbit" id="139481" data-post-id="139481">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="AlchemistCamp" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/AlchemistCamp/120/8823_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  AlchemistCamp
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="OvermindDL1" data-post="2" data-topic="7620">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/overminddl1/48/2677_2.png" class="avatar"> OvermindDL1:</div>
<blockquote>
<p>Also, if it helps, I use this overlay to generate (via distillary) a systemd service file using this PID library:</p>
</blockquote>
</aside>
<p>How do you do that with Distillery? This looks like exactly what I should be doing instead of SCPing my .service file up to the server.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="139481" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pidfile-create-and-manage-a-pid-file-from-the-beam-process/7620/30">Post #29</a>
	                </div>
	            </div>
              <div id="likers-container-139481" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="139481"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #29"></div>
  </section>
</div>
    <div class="postbit" id="139495" data-post-id="139495">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="OvermindDL1" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/OvermindDL1/120/2677_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  OvermindDL1
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="AlchemistCamp" data-post="30" data-topic="7620">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/alchemistcamp/48/8823_2.png" class="avatar"> AlchemistCamp:</div>
<blockquote>
<p>How do you do that with Distillery? This looks like exactly what I should be doing instead of SCPing my .service file up to the server.</p>
</blockquote>
</aside>
<p>Via an overlay template.  <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p>
<p>Essentially I just have these added to be <code>release ... do ... end</code> block:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">  set overlay_vars: [
        deploy_user: user,
        deploy_group: group
      ]

  set overlays: [
        {:template, "priv/templates/my_server.service.eex", "my_server.service"}
      ]
</code></pre>
<p>Still using it to this day.  ^.^</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="139495" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pidfile-create-and-manage-a-pid-file-from-the-beam-process/7620/31">Post #30</a>
	                </div>
	            </div>
              <div id="likers-container-139495" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="139495"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #30"></div>
  </section>
</div>
    <div class="postbit" id="163630" data-post-id="163630">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="lessless" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/lessless/120/6719_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  lessless
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/overminddl1" rel="nofollow">@OvermindDL1</a> how does this work with restarting node through OTP scripts - <code>bin/my_app restart</code>, both Distillery  and native releases wise?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="163630" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/pidfile-create-and-manage-a-pid-file-from-the-beam-process/7620/32">Post #31</a>
	                </div>
	            </div>
              <div id="likers-container-163630" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="163630"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #31"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/7620/load_more?page=4">Load more posts (12 remaining)</a>
</div></template></turbo-stream>