English   German
  #1  
Old 26-01-2003, 11:23
Husky-MLP- Husky-MLP- is offline
-= TeamSpeak User =-
 
Join Date: Jan 2003
Location: Germany
Posts: 3
Husky-MLP- is on a distinguished road
Send a message via ICQ to Husky-MLP-
Start|end|restart Script

Ich hab folgendes Problem mit den mitgeliferten Scripten:

Wenn ich die restart funktion benutzen macht er das auch ordnugsgemäs aber die datei tss2.pid ist weg.

Wenn ich stop und dann start mache geht es wenn ich dazwischen eine längere pause lasse.

Hatt er den server noch nicht ganz bendet wenn er schon neu gestartet wird.

Kann ich in das script ne pause einbau damit es geht?
Reply With Quote
  #2  
Old 29-01-2003, 10:30
SoniC-LaBlue SoniC-LaBlue is offline
-= TeamSpeak User =-
 
Join Date: Jan 2003
Location: germany
Posts: 2
SoniC-LaBlue is on a distinguished road
hey ho...

kannst einfach ein 'sleep XX' einbauen.
'XX' steht für die zeit in sekunden, die gewartet wird, bis das script weiterläuft...


####################################

restart)
$0 stop && sleep 5 && $0 start || return=$rc_failed
;;

####################################

so würde er nach dem stop also 5 sekunden warten...


hoffe, das hilft.

gruss, LaBlue
Reply With Quote
  #3  
Old 29-01-2003, 10:38
Husky-MLP- Husky-MLP- is offline
-= TeamSpeak User =-
 
Join Date: Jan 2003
Location: Germany
Posts: 3
Husky-MLP- is on a distinguished road
Send a message via ICQ to Husky-MLP-
Ja geht ohne probleme danke.
Reply With Quote
  #4  
Old 29-01-2003, 14:15
SoniC-LaBlue SoniC-LaBlue is offline
-= TeamSpeak User =-
 
Join Date: Jan 2003
Location: germany
Posts: 2
SoniC-LaBlue is on a distinguished road
Talking

bittschöön...


gruss, SoniC
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:19.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Add to Bookmarks   |   Printview   |   Contact Us   |   Legal Notices