Skip to content

dariogithub/GemStone_daemontools_setup

 
 

Repository files navigation

daemontools setup scripts for GemStone/S on Ubuntu or other Debian systems

Prerequisites

  • Install and set up GemStone/S 2.4.4.1 or later

  • Install daemontools (sudo apt-get install daemontools daemontools-run svtools)

Note: It’s OK to install daemontools after running the setup, but /etc/init.d/topaz and /etc/init.d/statmon won’t work until you do.

Running the setup scripts

Make sure that the config file in this directory is appropriate for your setup. Make sure you have root access so the setup can execute properly. Then execute:

sudo bash ./setupAll.sh

You can load Seaside 3.0 into GemStone by using the installSeaside30 script, using your own customized script, or loading Seaside interactively.

There are some utility scripts not run by setupAll.sh that can be useful when testing. Even though they prompt you before executing, you should read them and understand what they do before using them – particularly any ‘destroy_’ scripts.

Setting up your user account

The scripts in bin/ that start and stop GemStone use sudo. You may find it convenient to setup your sudoers file so you don’t have to supply a password to run them. There is an example sudoers file in etc/. Add the appropriate lines to your system sudoers file using “visudo”.

It’s easier if you add the daemontools control scripts to your path, and define the GemStone environment variables in your bashrc rather than sourcing the definition each time you login. Add these lines:

export PATH=$PATH:~/GemStone_daemontools_setup/bin
source /opt/gemstone/product/seaside/defSeaside

About

Scripts to set up GemStone/S Seaside for control by daemontools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 75.0%
  • Ruby 25.0%