Page 1 of 1

init.d startup questions

PostPosted: Tue Sep 21, 2010 7:44 pm
by vangale
I see in the docs we can link the omero script to /etc/init.d to get daemon startup.

Can we do the same for web client? e.g.:

# ln -s /home/omero/bin/omero /etc/init.d/omero-web

Also, our admins are worried about the daemon starting as root. I see there's a way to configure the blitz daemons to start as "omero" but can someone spell that out for me? I don't know where the "user" attribute goes in that XML. Any way to get the other daemons to run under "omero" user?

Re: init.d startup questions

PostPosted: Thu Sep 23, 2010 3:06 pm
by jmoore
Hi,

unfortunately, there's nothing in place to do what you want at the moment. There are several tickets related to init.d:

There's also an example init.d script which we use for our Ubuntu virtual image:
https://trac.openmicroscopy.org.uk/omero/browser/trunk/docs/install/VM/omero.sh

That being said, you can use a symlink from omero-web to in order to do:
Code: Select all
omero-web start

but it won't (yet) change to the intended user.

Cheers,
~Josh.