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

What does daemonize do that this demo doesn't? #28

Open
RichardBronosky opened this issue Dec 3, 2018 · 0 comments
Open

What does daemonize do that this demo doesn't? #28

RichardBronosky opened this issue Dec 3, 2018 · 0 comments

Comments

@RichardBronosky
Copy link

It seems that daemonize has a lot that it can do to meet various needs. But in the simplest cases, is there anything missing from just doing

# bash -c 'cd /; setsid sleep 10000 </dev/null &>/dev/null & jobs -p %1'
9864
# ps -p 9864
      PID    PPID    PGID     WINPID   TTY         UID    STIME COMMAND
     9864       1    9864       6632  ?           1009 17:40:35 /usr/bin/sleep

as described here?

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

1 participant