We use procServ to handle tasks 1 and 3, and logrotate for task 2. A
simple etc/init.d script can be used to start the procServ/IOC.
https://sourceforge.net/projects/procserv/
Mark
*From:* [email protected]
[mailto:[email protected]] *On Behalf Of *Benoit RAT
*Sent:* Monday, November 28, 2016 10:06 AM
*To:* [email protected] list
*Subject:* Asyn daemon + console + log
Hi guys,
I was wondering if someone could help me implement the following:
* Already done: I need to start my Asyn IOC as a daemon so that it
is executed at startup (A simple /etc/init.d/ scripts is doing the
job)
* Already done: I need to store all the outputs of my IOC into a
file (into /var/log/asyn/xxxxx.log with a logrotate to avoid
getting a problem with size)
* I want the user able to connect to the epics-ioc console (Maybe
through /dev/ttySxx)
I have manage to get the two first thing working but I can not get the
combination of the three. Someone has an idea, is it possible to access
to the console?
Maybe running the IOC as a daemon is not the best solution, but I would
really like to have my IOC started when I power on my rack.
--
Image removed by sender. <http://www.sevensols.com/>
*Benoit RAT LAMY*
fix. *(+34) 958 285 024*
e-mail: [email protected] <mailto:[email protected]>
*www.sevensols.com <http://www.sevensols.com/> *