Skip to content
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

init.d updates, fix restart and stop kill pid not in pidfile #30 #31

Merged
merged 1 commit into from
Feb 2, 2017

Conversation

abedwardsw
Copy link
Contributor

  • restart should wait for process to stop, otherwise it doesn't work
  • stop, if the pidfile is incorrect, then it should also check for the existing process and stop it
  • rework into functions so we can re-use logic for stop/start in the restart call

@BClark09
Copy link
Member

BClark09 commented Jan 29, 2017

Hi @abedwardsw, many thanks for the PR! I've tested this on Ubuntu 14 and it works for me!

Please could you sign off your commit as per the contributing guide? You can also link this PR to the issue you created by saying in the description "closes #30" and "closes #28"

@theoweiss Do you have any code formatting comments?

@abedwardsw
Copy link
Contributor Author

@BClark09 commit message updated, please have a look.

@BClark09
Copy link
Member

Perfect, thanks! I'm happy with it but I'll wait a bit for @theoweiss to agree and then we'll merge!

@theoweiss
Copy link
Member

LGTM.

@BClark09 The code formatting has to be fixed in general. We have not yet defined a formatting, but should do.

@abedwardsw Could you - for now - intend your code additions with 2 blanks and add a line like this to your next commit message: Signed-off-by: Adam Edwards <_your@email.org_> (github: abedwardsw)

Thanks!

…penhab#30 and closes openhab#28

Signed-off-by: Adam Edwards <abedwards@gmail.com> (github: abedwardsw)
@abedwardsw
Copy link
Contributor Author

@BClark09 @theoweiss new commit created (rebased). Should be good now according to the "standard.."

@BClark09 BClark09 merged commit b0fdb3e into openhab:master Feb 2, 2017
@BClark09
Copy link
Member

BClark09 commented Feb 2, 2017

Many thanks @abedwardsw!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants