rc_script questions.

2014-08-26 Thread Chuck Burns
I am working on writing a rc_script for my attempted quassel-core subpackage of quassel. Actually, it seems that the entire port, except for the rc_script, is production-ready (at least to me) So.. with that in mind, here a few questions that I can't really seem to figure out. One, where is

Re: rc_script questions.

2014-08-26 Thread Antoine Jacoutot
On Tue, Aug 26, 2014 at 11:37:49AM -0500, Chuck Burns wrote: I am working on writing a rc_script for my attempted quassel-core subpackage of quassel. Actually, it seems that the entire port, except for the rc_script, is production-ready (at least to me) So.. with that in mind, here a

Re: rc_script questions.

2014-08-26 Thread Eric Radman
On Tue, Aug 26, 2014 at 11:37:49AM -0500, Chuck Burns wrote: It -does- exit the script, and the rc_start() command is -not- processed.. so I know that part is working.. However, there is no output, and the script doesn't fail it just quits, silently... Try running the rc script with

Re: rc_script questions.

2014-08-26 Thread Chuck Burns
On Tuesday, August 26, 2014 6:50:11 PM Antoine Jacoutot wrote: However, there is no output, and the script doesn't fail it just quits, silently... run it with `-d' Ok, well.. i was hoping to be able to just have a user add it to $pkg_scripts and at *least* say quasselcore(failed) upon

Re: rc_script questions.

2014-08-26 Thread Chuck Burns
On Tuesday, August 26, 2014 6:50:11 PM Antoine Jacoutot wrote: Ok, so I wrapped the launch of the daemon inside an if/fi that checks for the existence of the file in rc_start() so that the daemon is only launched if the file exists. I was hoping for a slightly more elegant way of it, but if