hauleth / erlang-systemd

systemd utilities for Erlang applications
Apache License 2.0
174 stars 19 forks source link

Add `systemd:unset_env/1` for unsetting env variables #10

Closed hauleth closed 4 years ago

hauleth commented 4 years ago

This provides user greater control about the environment variables.

BREAKING CHANGE: remove systemd:listen_fds/1 in favour of systemd:listen_fds(), systemd:unset_env(listen_fds).

codecov[bot] commented 4 years ago

Codecov Report

Merging #10 into master will increase coverage by 1.4%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #10     +/-   ##
=========================================
+ Coverage   94.44%   95.84%   +1.4%     
=========================================
  Files           8        8             
  Lines         288      289      +1     
=========================================
+ Hits          272      277      +5     
+ Misses         16       12      -4
Impacted Files Coverage Δ
src/systemd_watchdog.erl 95.65% <ø> (+14.88%) :arrow_up:
src/systemd_journal_h.erl 82.6% <ø> (ø) :arrow_up:
src/systemd_journal_formatter.erl 100% <ø> (ø) :arrow_up:
src/systemd_stderr_formatter.erl 100% <ø> (ø) :arrow_up:
src/systemd.erl 92.15% <100%> (+0.32%) :arrow_up:
src/systemd_sup.erl 96.77% <100%> (+0.22%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 611007c...abc7f28. Read the comment docs.