EPICS Home

Experimental Physics and Industrial Control System


 
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  <20212022  2023  2024  2025  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  <20212022  2023  2024  2025 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Re: Autostart with manage-procs and network mounts
From: "Sinclair, John via Tech-talk" <tech-talk at aps.anl.gov>
To: "Smith, William" <william.smith at helmholtz-berlin.de>, Michael Davidsaver <mdavidsaver at gmail.com>
Cc: "wayne.lewis at ess.eu" <wayne.lewis at ess.eu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 3 Aug 2021 20:17:58 +0000
Archive appliance problem solved.

My setenv.sh files in the bin dir of each application needed to export the environment variables.

Sorry for the noise and thanks for the replies,
John Sinclair



From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, August 3, 2021 2:30 PM
To: Smith, William <william.smith at helmholtz-berlin.de>
Cc: wayne.lewis at ess.eu <wayne.lewis at ess.eu>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] Re: Autostart with manage-procs and network mounts
 
fyi. I've opened https://github.com/ralphlange/procServ/issues/54

On 8/3/21 3:07 AM, Smith, William via Tech-talk wrote:
> Hi,
>
>  
>
> I am using manage-procs to deploy and manage IOC’s using systemd. It creates the systemd files that look something like what is shown below. I mount a network drive over nfs at boot that contains the built IOC binaries for the service to run. The service is enabled, it should start at boot but it doesn’t because the ConditionPathIsDirectory fails. If I go to the directory after the system has booted, I can see that it has been mounted correctly and exists. I cc Wayne because I seem to remember us having a similar problem at ESS about 2 years ago but I can’t remember how we solved it! Does anybody have any ideas?
>
>  
>
> Many thanks,
>
>  
>
> Will
>
>  
>
> emil@sissy-ioc-01:/etc/systemd/system$ cat procserv-EMIL_KTH_00.service
>
>  
>
> [Unit]
>
> Description=procServ for EMIL_KTH_00
>
> After=network.target remote-fs.target
>
> ConditionPathIsDirectory=/home/emil/Apps/epics/R7.0.4.1/prod/ioc/EMILEL/EMIL_KTH_00/1-4-0/iocBoot/iocEMIL_KTH_00
>
>  
>
> [Service]
>
> Type=simple
>
> ExecStart=/usr/local/bin/procServ-launcher --system EMIL_KTH_00
>
> RuntimeDirectory=procserv-EMIL_KTH_00
>
> StandardOutput=syslog
>
> StandardError=inherit
>
> SyslogIdentifier=procserv-EMIL_KTH_00
>
>  
>
> User=emil
>
> Group=emil
>
>  
>
> [Install]
>
> WantedBy=multi-user.target
>
>  
>
>  
>
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
>
> Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
>
> Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
> Geschäftsführung: Prof. Dr. Jan Lüning (Sprecher), Prof. Dr. Bernd Rech, Thomas Frederking
>
> Sitz Berlin, AG Charlottenburg, 89 HRB 5583
>
> Postadresse:
> Hahn-Meitner-Platz 1
> 14109 Berlin
> Deutschland


References:
Autostart with manage-procs and network mounts Smith, William via Tech-talk
Re: Autostart with manage-procs and network mounts Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: Archive appliance on RHEL8 Michael Davidsaver via Tech-talk
Next: archive appliance Sinclair, John via Tech-talk
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  <20212022  2023  2024  2025 
Navigate by Thread:
Prev: Re: Autostart with manage-procs and network mounts Michael Davidsaver via Tech-talk
Next: Getting started with EPICS lecture videos Leblanc, Gregory via Tech-talk
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  <20212022  2023  2024  2025