Deamon tools supervise exiting without errors

0 votes

I used to run a websocket server as node process on an AWS ec2 instance:

node websocket/index.js

Now I'm trying to use daemontools supervise to execute this process to ensure it restarts in case it stops or dies for some reason. I'm running it from inside the directory. supervise . &. The following is my ./runfile:

#!/bin/sh

node websocket/index.js

To test this out I force kill the process and suprevise restarts it correctly. But, every day when I check it, both the node process and the supervise process are dead. The system is not rebooting. I do not know why this is happening again and again. How do I stop the supervise process to die?

Aug 23, 2018 in Other DevOps Questions by ajs3033
• 7,280 points
48 views

1 answer to this question.

0 votes
Best answer

I found out about node module forever to keep processes alive. Been using it since and no problems so far. Node Module Forever

answered Aug 23, 2018 by ajs3033
• 7,280 points

Related Questions In Other DevOps Questions

+1 vote
1 answer

How to deal with non-fast forward errors?

This error is faced when git cannot ...READ MORE

answered Jul 3, 2018 in Other DevOps Questions by Sophie may
• 9,900 points
3,981 views
0 votes
1 answer

Do DevOps tools work together to bring out the DevOps culture? How?

Yes, of course, DevOps tools work together.  Developers ...READ MORE

answered Feb 16, 2019 in Other DevOps Questions by Nisha
45 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,400 points
305 views
0 votes
3 answers

Can we run Spark without using Hadoop?

No, you can run spark without hadoop. ...READ MORE

answered May 7, 2019 in Big Data Hadoop by pradeep
257 views
0 votes
2 answers

Can we run selenium tests (Firefox) on WebDriver without a GUI?

Hi Shubham, you can use headless browsers ...READ MORE

answered Aug 22, 2019 in Selenium by Abha
• 27,740 points
331 views
0 votes
1 answer

How to do CI integration with code review tools

Here is an explanation. If you can switch ...READ MORE

answered Mar 26, 2018 in Jenkins by Atul
• 10,250 points
162 views