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

framework: fix busybox start-stop-daemon support for service #3390

Merged

Conversation

ymartin59
Copy link
Contributor

  • discard non relevant options, add pid file
  • run as root in conf/privilege for DSM 6
  • fix status return codes

Linked issues: #3387 #3094

- discard non relevant options, add pid file
- run as root in conf/privilege for DSM 6
- fix status return codes
@Safihre
Copy link
Contributor

Safihre commented Jul 19, 2018

So I understand correctly that the problem was that it doesn't run as root?

@ymartin59
Copy link
Contributor Author

Not only. HOME environment variable was not set even with use of env. So my usage of export in service_prestart.

@Safihre
Copy link
Contributor

Safihre commented Jul 19, 2018

👍

@ymartin59 ymartin59 merged commit dd64f95 into SynoCommunity:master Jul 20, 2018
@ymartin59 ymartin59 deleted the 3387-status-busybox-daemon branch July 20, 2018 07:13
@ymartin59
Copy link
Contributor Author

Sorry. I tried to publish two PRs at the same time and one has just "vanished" (don't know where/why) and explain why you cannot understand what was behind. So I now have to rebase your branch from #3094 with my changes for review...

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.

3 participants