i use an init script to start Omero 4.1.1 on Ubuntu 9.10.
- Code: Select all
#! /bin/sh
### BEGIN INIT INFO
# Provides: omero_start
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2
# Default-Stop: 0
# Short-Description: omero initscript
# Description: startet den omero server
#
### END INIT INFO
# echo 0 > /proc/sys/net/ipv4/tcp_window_scaling
case "$1" in
start)
sudo -u omero /home/omero/omero_dist/bin/omero admin start ;;
stop)
sudo -u omero /home/omero/omero_dist/bin/omero admin stop ;;
status)
# gibt 0 status zurueck wenn node ping erfolgreich
sudo -u omero /home/omero/omero_dist/bin/omero admin status ;;
*)
echo 'usage: /etc/init.d/omero_start start|stop|status' ;;
esac
The Script is linked wit 'sudo update-rc.d initscript defaults'
This works, but not with OMERO.web, Apache and mod_python.
I must push
- Code: Select all
bin/omero web settings
every time, when i reboot the Server.
Best regards
Mike