Experimental Physics and Industrial Control System
|
Rok,
I don't know if this applies to your hardware setup, but I set our IOC
to run on one of the virtual terminals on our Linux box. I did this by
modifying /etc/inittab by first commenting out the old entry for tty6
and then adding:
ioc:345:respawn:/bin/su -l bl72 </dev/tty6 >/dev/tty6
bl72 is the account for the IOC, and has a .cshrc file set up in its
home directory to start the st.cmd file.
If you don't have virtual terminals, you should be able to redirect I/O
to some other device, a file, or /dev/null.
--
eric
Rok Sabjan wrote:
Hi all!
I have an interesting question. How to run EPICS application on a
linux box in a background. The box is actually contains a strong-arm
processor with all the data (+EPICS) stored in the flash. I would like
to get EPICS started as soon as I turn on the machine. But if I write
a script and put it into /etc/init.d/S99epics, the application starts
and then immediately ends.
I cannot use Dirk Zimoch's shellbox.tcl, as I have no tcl. I have also
no screen program now. Everything else works very well on this
platform, including serial device control with (for now) gpibCore.
Can anyone give me a clue about this, please. Should we patch EPICS a
bit or is this solveable with linux tricks?
Cheers,
Rok
- References:
- Running epics in background in linux Rok Sabjan
- Navigate by Date:
- Prev:
Definitions of RELEASE_ variables Chris Mayer
- Next:
WINSOCK Error 10055 Steven . Banks
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
<2004>
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Running epics in background in linux Brian McAllister
- Next:
compile error of EPICS 3.14.4 under windows dong-jun park
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
<2004>
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|