Jump to content
Forgot your email address? ×
×
×
  • Create New...
  • 0

Channel script


dukaibalu1

Question

6 answers to this question

Recommended Posts

  • 0

You can do what Rumor says or you can do it via shell:

 

make a file restart.sh with permissions 777

#!/bin/sh
sh start.sh
sleep 60*5
sh restart.sh

in start.sh:

#!/bin/sh

cd /usr/home/metin2/db && ./db &
cd /usr/home/metin2/auth && ./auth &
cd /usr/home/metin2/channel1 && ./game &
cd /usr/home/metin2/channel2 && ./game &
cd /usr/home/metin2/game99 && ./game &

NOT TESTED(But i hope it will work)

Link to comment
  • 0

you can use Tim's vrunner to daemonize game & db then it will restart automatically

 

I don't trust for tim daemon. Better solution is use daemon it's more extended and very safe. If you want you can setup startup delay, run as user, and many more. For more info type /usr/bin/daemon when is installed.

Here is source http://libslack.org/daemon/#download

  • Love 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


  • Read our Rules
  • Activity

    1. 0

      Visual Studio 2010 Ultimate

    2. 1

      Reduce server memory usage

    3. 31

      Metin2 Project - How to create à Metin2 private server on virtual machine

    4. 1

      Use BeltInventory slots without Belt

    5. 47

      Paid service - Vegas Projects

    6. 44

      Changelogs

    7. 79

      3D Shop - Mark Service

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.