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

How can I use "systemctl" to manage srevices in chroot? #846

Open
izeroo opened this issue Aug 26, 2017 · 2 comments
Open

How can I use "systemctl" to manage srevices in chroot? #846

izeroo opened this issue Aug 26, 2017 · 2 comments

Comments

@izeroo
Copy link

izeroo commented Aug 26, 2017

Or another command?
I want to start postgresql service, but I really don't know how to start it.
When I use "sudo systemctl start postgresql", teminal says "Running in chroot, ignoring request."

@isjerryxiao
Copy link

Systemd process needs to be Pid1 during device startup, which is nearly impossible on ordinary Android devices. You should try using sysvinit(service xxx start/stop)

@beda17
Copy link

beda17 commented Apr 1, 2018

I use servicectl for that:
https://github.com/smaknsk/servicectl

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

No branches or pull requests

3 participants