Hi,

For quite a while we experienced that execd (from Debian/Ubuntu packages)
was not starting on our Ubuntu 10.04 office PCs during bootup. 
Starting them manually was no problem.

Many months later I figured that the /etc/init.d/gridengine-exec 
was started before the network was up&running, a consequence 
of the move to upstart as init replacement.

Have there been any attempts to create upstart jobs for execd, 
which can properly depend on networking ? My first (working) attempt 
is below, but compared to the original scripts it does not look 
as complete and bullet proof, as I am not an upstart expert.
This could go into some contrib directory in SoGE.

Yours,
Steffen


description "SGE Execution Daemon init script"
author "gridengine team ?"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2]

pre-start script
    # do my work here to start the service
    # Read configuration variable file if it is present
    [ -r /etc/default/gridengine ] && . /etc/default/gridengine
end script

post-stop script
    # do work here to stop the service
end script

exec /usr/sbin/sge_execd

-- 
IPB Halle                    AG Massenspektrometrie & Bioinformatik
Dr. Steffen Neumann          http://www.IPB-Halle.DE
Weinberg 3                   http://msbi.bic-gh.de
06120 Halle                  Tel. +49 (0) 345 5582 - 1470
                                  +49 (0) 345 5582 - 0
sneumann(at)IPB-Halle.DE     Fax. +49 (0) 345 5582 - 1409

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to