-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bring back undocumented start/attach extended start script commands #833
Bring back undocumented start/attach extended start script commands #833
Conversation
Cool, so the reason this is a draft is the need for the link to docs? |
priv/templates/extended_bin
Outdated
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should add in that the user should use daemon
to get the same result as start
and also to check the link to docs for why you should really be using foreground and an init tool. But don't have to mention foreground if we get a link in the docs for this, but do need it to say use daemon instead
.
Same for attach
, it should say attach is deprecated, use daemon_attach ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, i'll rephrase this to not require the doc link just now, we can open a new PR to add it later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, so the reason this is a draft is the need for the link to docs?
yeah, but now i'm thinking we can merge without the link and add it later
priv/templates/extended_bin
Outdated
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tsloughter would be nice to have a link-to-doc somewhere, another option is to leave it open for people to dig on their own
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
link-to-doc is risky since we don't necessarily commit to super stable doc links with the new site
priv/templates/extended_bin
Outdated
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, i'll rephrase this to not require the doc link just now, we can open a new PR to add it later
Prints out an annoying message instructing users to consider the alternatives while still supporting these operations. Main intent is to ease adoption of a new version and not force people to go around changing millions of scripts from 'start' to 'daemon'.
be0dcc9
to
6c66d9e
Compare
Prints out an annoying message instructing users to consider the
alternatives while still supporting these operations. Main intent
is to ease adoption of a new version and not force people to go around
changing millions of scripts from 'start' to 'daemon'.