hauleth / erlang-systemd

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

Add helper for readiness process child_spec #17

Closed hauleth closed 4 years ago

hauleth commented 4 years ago

This function is meant to be used as part of the supervisor child list in the place where system is ready (there still can be processes to be started, but these should not be vital to the whole system). It will just start temporary process that send message and exits.

codecov[bot] commented 4 years ago

Codecov Report

Merging #17 into master will increase coverage by 0.03%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
+ Coverage      95%   95.03%   +0.03%     
==========================================
  Files           8        8              
  Lines         260      262       +2     
==========================================
+ Hits          247      249       +2     
  Misses         13       13
Impacted Files Coverage Δ
src/systemd.erl 92.3% <100%> (+0.3%) :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 448772f...fb75a29. Read the comment docs.