0

I'm working with docker at the moment and I'm trying to run a command from rc.local in the Dockerfile but the command doesn't exit unless I kill it manually. Is there a way I can "disown" the process so that I can get to shell and still have the process running by itself?

The command I'm working with is free radius -X -l /var/log/radius.log is there a way to maybe add this as a service running in the background?

Any help is appreciated!

jamieg
  • 90

1 Answers1

0

As mentioned by ridgy you can specify & after your command to drop it into the background. For my particular case this didn't work. NOTE using & needs to go in hand with bg so that the process can run in the background the same goes for using ctrl-z to set a background process.

jamieg
  • 90