erlang-systemd
erlang-systemd copied to clipboard
systemd utilities for Erlang applications
To fix dialyzer error: src/systemd_journal_h.erl Line 500 Column 1: The inferred return type of handle_call/3 ({'stop','normal','ok',_}) has nothing in common with {'noreply',_} | {'reply',_,_} | {'stop',_,_}, which is the expected...
When you say "ExecStart=/path/to/my_app start" do mean something like /rel/share3/bin/share3 start?
Where /rel/share3/bin/share3 start is created using "rebar3 release". I never got this to work, get some protocol error when I do "systemctl start share3" Using ubuntu 20.04 with Erl22.
I am trying to use the library in a Elixir project and also use [Dialyxir](https://hexdocs.pm/dialyxir/readme.html). As indicated in the doc, I specified `:systemd.ready()` as: ```elixir # Elixir defmodule MyProject.Application do...
Using Erlang 24.3.1 with Elixir 1.10.2, adding `systemd` to the deps and then doing `mix deps.get` it fails to install. A bit of research showed me that the issue is...
The handler would be harder to misuse and should result in cleaner implementation. It should be simple wrapper over `logger_std_h` that would log to the `standard_io` and `standard_error` only, and...
Quoting docs: > If referencing an `AF_UNIX` stream socket to connect to, the connection will originate from an abstract namespace socket, that includes information about the unit and the credential...
This adds new function `systemd:credentials/1` which returns path for credentials' files. This function checks if the `$CREDENTIALS_DIRECTORY` variable was set and if it was set, then the path is always...
This feature would make it easier to support the workflow around LoadCredentials and friends as described here: https://systemd.io/CREDENTIALS/