start-stop-daemon Questions
13
Solved
I am using an init script to run a simple process, which is started with:
start-stop-daemon --start --quiet --chuid $DAEMONUSER \
--make-pidfile --pidfile $PIDFILE --background \
--exec $DAEMON ...
Expressive asked 24/11, 2011 at 3:33
10
Solved
Let's assume we have such a trivial daemon written in python:
def mainloop():
while True:
# 1. do
# 2. some
# 3. important
# 4. job
# 5. sleep
mainloop()
and we daemonize it using start-s...
Kavanaugh asked 28/8, 2013 at 22:44
2
Solved
We have a multithreaded Spring Boot Application, which runs on Linux machine as a daemon. When I try to stop the application by start-stop-daemon like this
start-stop-daemon --stop --quiet -...
Least asked 18/4, 2016 at 10:27
2
Solved
I'm trying to start python script with start-stop-daemon:
sudo /sbin/start-stop-daemon --start --pidfile /home/loop.pid \
--user www-data --group www-data -b --make-pidfile --chuid www-data \
--e...
Catenane asked 20/12, 2011 at 16:26
2
Solved
Let's assume we have such a trivial daemon written in java:
public class Hellow {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
while(true) {
// 1....
Orectic asked 18/11, 2017 at 11:54
2
We have a requirement where in we need to monitor remote JVM details via JMX using a simple servlet application. So things done till now in a standalone application is
1) Creat a JMX connector &am...
Keturahkeung asked 11/8, 2014 at 6:36
4
There are several questions about this already but none of them seem to work. I have a production system that is currently down and I need to be able to get the stderr output from the daemon quickl...
Movement asked 8/10, 2012 at 18:57
2
This command is part of an upstart script, which used to work in ubuntu 12.04, 10.04.
sudo start-stop-daemon --start --make-pidfile --pidfile /var/run/mk_order_handler.pid --chuid ubuntu --exec ...
Spoliation asked 7/8, 2014 at 8:3
1
Solved
I have this command in a shellscript in /etc/init.d/
start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/$NAME.pid --background --exec /usr/bin/java -jar /home/username/myjar.jar
...
Pyknic asked 1/12, 2014 at 23:8
1
Solved
I have small app created on python flask and deployed on EC2 aws machine, when I do ssh to ec2 machine and starts flask, it works, but when I terminate the session the flask dies, I can run it usin...
Means asked 12/4, 2014 at 10:55
12
Solved
Previous versions of JBoss included a scripts (like jboss_init_redhat.sh) that could be copied to /etc/init.d in order to add it as a service - so it would start on boot up. I can't seem to find an...
Bactria asked 30/7, 2011 at 3:30
2
Solved
What is start-stop-daemon and how should it be used?
I am trying to automate a particular program to run. Whenever the system starts, the program should run. For that I am writing script in /etc/i...
Nickeliferous asked 22/4, 2013 at 5:23
1
Solved
i have the following start-stop-script:
NAME="examplestartstop"
PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/node/bin"
LOGFILE="/var/log/$NAME/start-stop-daemon.log"
APP...
Beutler asked 18/3, 2013 at 15:2
2
Solved
I am new at rails world and need to run my rails test server in daemon mode..
I've noticed that there is a a -d flag but its not working for me..
rails -s -d
shouldn't it be like this?
Nephridium asked 19/2, 2013 at 17:44
1
This may seem to be a repeated question but it is not. I found some articles on it where start-stop-daemon doesn't create a PID file. But in my case, I have already created the PID file. I execute ...
Caboose asked 17/9, 2012 at 11:22
2
I'm having a heck of a time getting a java program to launch properly in an init script using start-stop-daemon. I've written the init script and it seems to run but there's never a process afterwa...
Guayule asked 26/3, 2012 at 1:42
2
Solved
How should I script daemontools superviser?
I've started to use D. J. Bernsteins' daemontools to keep some processes running and is working fine. But now I need to monitor a couple of additi...
Stickseed asked 18/5, 2012 at 10:11
1
We're having issues with our celery daemon being very flaky. We use a fabric deployment script to restart the daemon whenever we push changes, but for some reason this is causing massive issues.
W...
Alicyclic asked 1/7, 2011 at 17:15
1
© 2022 - 2024 — McMap. All rights reserved.