On Thu, 29 Nov 2018 07:19:17 -0800 (PST), Brian Adkins <lojicdot...@gmail.com> wrote:
>Just out of curiosity, why do you feel using daemon(3) is not a great idea? >I'm not disagreeing, just curious about your reasons. > >On Thursday, November 29, 2018 at 5:54:42 AM UTC-5, Tony Garnock-Jones >wrote: >> >> IMO using daemon(3) is not a great idea. Instead, I like to use djb's >> daemontools https://cr.yp.to/daemontools.html to supervise my processes. >> For example, see the `README` and the `run` script in >> https://github.com/tonyg/racket-reloadable-example. >> >> Tony daemon(3) is not guaranteed to keep background processes running after the the user logs off. If you need the process to keep running - or to start automatically at boot - you really need to use a systemd [preferably] or init script. Unfortunately either of these options require root access - which can be a problem with some cloud VMs. George -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.