<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">systemd is library for integrating Erlang applications with systemd. Currently supported features are:</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">- notification socket</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">- watchdog process</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">- journal integration (via kmsg-like messages on stdout/stderr or via direct journal socket connection)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">- limited support for socket activation</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Hex: </span><a href="https://hex.pm/packages/systemd" class="">https://hex.pm/packages/systemd</a><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Source: <a href="https://github.com/hauleth/erlang-systemd" class="">https://github.com/hauleth/erlang-systemd</a></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class="">This introduced few breaking changes:<br class=""><br class=""><div class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>• Removal of systemd_journal_formatter - now everything happenes in the systemd_journal_h and do not require user to remember to use one particular formatter<br class=""></div><div class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>• systemd_stderr_formatter was renamed to systemd_kmsg_formatter as it can be used with other output streams, not only standard_error, new name is derivation of format that the journal uses which is based on Linux kernel messages known as kmsg<br class=""></div>Other notable changes:<br class=""><br class=""><div class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>• systemd:notify/2 was removed<br class=""></div><div class=""><span class="Apple-tab-span" style="white-space: pre;">      </span>• systemd:notify/1 can now take list of messages to be sent at once<br class=""></div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>• systemd_kmsg_formatter will be used automatically for all handlers that use logger_std_hwith type standard_io or standard_error if these are attached to the journal stream (wich is checked via JOURNAL_STREAM env variable set automatically by systemd)<br class=""></div><div class=""><span class="Apple-tab-span" style="white-space: pre;">   </span>• systemd:ready/0 helper function that returns child spec for temporary child that will send ready notification, useful for adding it in the supervisor children list<br class=""></div><div class=""><span class="Apple-tab-span" style="white-space: pre;">       </span>• Watchdog can now be manually forced to run, even if the PID mismatch</div><div class=""><br class=""></div><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">--<br class=""><br class="">Łukasz Niemier<br class=""><a href="mailto:lukasz@niemier.pl" class="">lukasz@niemier.pl</a></div></div></div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">--<br class=""><br class="">Łukasz Niemier<br class=""><a href="mailto:lukasz@niemier.pl" class="">lukasz@niemier.pl</a><br class=""></div>
</div>

<br class=""></body></html>