Hello Aaron, It's been a long time I use CentOS >From what I do remember it doesn't have `start-stop-daemon` by default I was able to build it from sources and to use
According "foreground job" /etc/init.d/* are usual shell scripts you should be able to run any command in it as both background and foreground process using `&` i.e. if you have `start-stop-daemon` and it works just edit init.d script by appending `&` like this: `start-stop-daemon ... all params here......... &` On Sat, 20 Jul 2019 at 05:05, Aaron Hepp <aaron.h...@gmail.com> wrote: > > Moving everything to CentOS servers from Ubuntu. The start up script used to > start OM4 in Ubuntu was just /etc/init.d/<startup script> start. It then > started in the background with a few lines: > start-stop-daemon: --start needs --exec or --startas > Try 'start-stop-daemon --help' for more information. > > You cannot use the same command in CentOS as if you do it runs the script in > the foreground, which as soon as you stop the terminal it kills the process. > > Know of another way to run the script in the background? I have tried > /etc/init.d/<startup script> start & and that does not work > -- WBR Maxim aka solomax