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

Can not exit Dasher started from init.d #91

Open
eai04191 opened this issue Jul 31, 2017 · 1 comment
Open

Can not exit Dasher started from init.d #91

eai04191 opened this issue Jul 31, 2017 · 1 comment

Comments

@eai04191
Copy link

I am using Dasher on Raspberry Pi Model B.
I was able to service according to this tutorial.
https://github.com/maddox/dasher/wiki/Running-Dasher-on-a-Raspberry-Pi-at-startup

I wanted to change the config, so stop the Dasher using the sudo /etc/init.d/dasher stop command, edit the config, and at sudo /etc/init.d/dasher start have started.

When I pressed the Dash button while watching the logs, I noticed that the commands before and after the change reacted simultaneously.

Similarly, repeating stop and startup increased Dasher's reaction by that much.

When monitoring the process using ps x, the process of sh -c node app.js is stopped when stopping Dasher with sudo /etc/init.d/dasher stop, but dasher The process continued to remain.

How do I completely stop Dasher with sudo /etc/init.d/dasher stop?

@elmedico27
Copy link

The script will only start dasher, not stop it. Try npm stop from the CL.

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

2 participants