I have a program running in the jail that does not come with a startscript, does output to stdout and stderr and also does not daemonize.
I have experimented with /etc/rc.conf and what _seems_ to work is the following:
[startup command] > /dev/null 2>&1 /dev/null &
However I do believe this is not a very elegant solution. Are there any suggestions for improvements?
I have experimented with /etc/rc.conf and what _seems_ to work is the following:
[startup command] > /dev/null 2>&1 /dev/null &
However I do believe this is not a very elegant solution. Are there any suggestions for improvements?