On 9/19/2014 4:18 AM, Risto Vaarandi wrote: > No problem. Just one question -- I noticed that the PIDFile statement is > written as > > PIDFile=/run/sec-$I.pid > > and contains $I instead of %I. Is the use of $I intentional, and how > does it differ from %I? (When doing a quick search, I didn't find any > info about $I from systemd man pages.)
That's a typo, thanks for catching it. PIDFile= is unused when using Type=simple. That explains why I was having problems with Type=forking: systemd couldn't find the PID file that sec was writing. I can't decide if I should: - Stick with Type=simple and delete the PIDFile= line. - Fix PIDFile=, and switch back to --daemon and Type=forking. I'll probably do the second. I like having the PID file, and I may as well ensure that systemd is using the same file. Then I'm assured it's all working correctly. -- Eric. ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ Simple-evcorr-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
