Restarter for Linux (please help!)
#1

Hey Guyz!
Iґm a Linux-Noob and Iґm not able to make a restarter script for
my sa-mp-server so please is there anyone who can give me a code?

my server-directory is :root/home/samp

I hope to get an answer!
Reply
#2

Quote:
Originally Posted by Westie
Well done for the epic bump. I suppose you could create a simple shell script like:

Code:
#!/bin/bash

while true
do
  nohup ./samp022svr &
done
or something like that.
//

try:


Code:
#!/bin/bash

while true
do
   nohup root/home/samp/samp-server &
done
Reply
#3

sry doesnґt work. I got this error : bad interpreter: No such file or directory
Reply
#4

now there is this error : /bin/sh^M: bad interpreter: No such file or directory
Reply
#5

i use debian 4.0 64-bit (sry for doublepost i forgot to answer this question)
Reply
#6

/bin/bash <---
Reply
#7

WHat program should i use and where do i have to put that code Im using putty.

And donґt tell me to use wikipedia or ****** i did but i found only CODE and i dont know where how and what program to use...
Reply
#8

https://sampwiki.blast.hk/wiki/Linux_Ser..._Server_Online
Reply
#9

Quote:
Originally Posted by f3llah1n
Rofl! Didnt u read what i have written?! I said that i have looked at THAT page at wikipedia but i DONT KNOW where to write that code!!!
Reply
#10

You said Wikipedia, and that isnt Wikipedia, hence the reason I posted it.

It tells you on the page where to put everything and how to run it.

Though, then again, you can't tell the difference between Wikipedia and sites running Wikimedia...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)