Jump to content

Recommended Posts

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
https://metin2.dev/topic/202-channel-script/#findComment-1256
Share on other sites

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

  • Metin2 Dev 3
  • Love 1
  • Love 4
Link to comment
https://metin2.dev/topic/202-channel-script/#findComment-1270
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

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.