Skip to content

Commit

Permalink
fixup! Bring back undocumented start/attach extended start script com…
Browse files Browse the repository at this point in the history
…mands
  • Loading branch information
lrascao committed Nov 2, 2020
1 parent 7c2f8a6 commit be0dcc9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions priv/templates/extended_bin
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,8 @@ case "$1" in
start)
# TODO, add here the right annoying message asking users to consider
# instead using systemd or some such other init system
echo "'start' has been deprecated and will be removed in the short-term, please consider <link-to-doc> for alternatives"
echo "'start' has been deprecated, replaced by 'daemon' and will be removed in the short-term, please consult rebar3.org on why you should be"\
"using 'foreground' and an init tool such as 'systemd'"
shift
START_OPTION="console"
HEART_OPTION="daemon"
Expand Down Expand Up @@ -795,7 +796,8 @@ case "$1" in
attach)
# TODO, add here the right annoying message asking users to consider
# instead using systemd or some such other init system
echo "'attach' has been deprecated and will be removed in the short-term, please consider <link-to-doc> for alternatives"
echo "'attach' has been deprecated, replaced by 'daemon_attach' and will be removed in the short-term, please consult rebar3.org on why you should be"\
"using 'foreground' and an init tool such as 'systemd'"
;;
esac
# Make sure a node IS running
Expand Down

0 comments on commit be0dcc9

Please sign in to comment.