glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[glob2-devel] YOG


From: Leo Wandersleb
Subject: [glob2-devel] YOG
Date: Sun, 20 Apr 2008 18:32:56 +0200
User-agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080109)

Hi *

I modified the start script to
* reveal the YOG server in "ps -Alf"
* restart every 25s instead of every 5s
* and redirect output to /dev/null

What would we need to change so we can run the server as "glob2"? Didn't test if we can already but i'd rather want more people to be able to restart yog than to give more people root.

also we need a startup-script in /etc/init.d so we survive reboots

Greetings, Leo

h1145132:/home/glob2/glob2_servers# cat Beta1YOGServer.sh Beta2YOGServer.sh 
Beta3YOGServer.sh
#!/bin/bash

while sleep 20
do
        cd /home/glob2/glob2_servers
        ./glob2-beta1-rc/src/glob2 -daemon >/dev/null
done
#!/bin/bash

while sleep 25
do
        cd /home/glob2/glob2_servers/
        ./glob2-beta2-rc/src/glob2 -daemon >/dev/null
done
#!/bin/bash

while sleep 25
do
        cd /home/glob2/glob2_servers
        ./glob2-beta3-rc/src/glob2 -daemon > /dev/null
done
ps -Alf | grep glob2
4 S root      1563  1557  0  76   0 -  2760 -      15:26 pts/2    00:00:00 
./glob2-beta1-rc/src/glob2 -daemon
4 S root      1612  1599  0  76   0 -  2841 -      15:28 pts/2    00:00:00 
./glob2-beta2-rc/src/glob2 -daemon
4 S root      1968  1962  0  76   0 -  8913 -      15:34 pts/2    00:00:00 
./glob2-beta3-rc/src/glob2 -daemon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]