khanat-opennel-code/code/ryzom/server/patchman_cfg/admin_install/bin/startup

12 lines
312 B
Text
Raw Normal View History

2016-01-24 16:08:32 +00:00
#!/bin/sh
cd /srv/core
rm */*.state */*/*.launch_ctrl */*/*.state
/bin/bash /srv/core/bin/admin start
# special case for the "ep1.std01.ryzomcore.local" machine - start the admin tool graph sync script
if [ $(hostname) = "ep1.std01.ryzomcore.local" ]
then
nohup /bin/sh /srv/core/bin/sync_rrd_graphs.sh &
fi