14.11.2010, 00:46
I try https://sampwiki.blast.hk/wiki/Linux_Server but doesn't work any help please!!
If anyone have one please tell me how to install it
If anyone have one please tell me how to install it
|
I try https://sampwiki.blast.hk/wiki/Linux_Server but doesn't work any help please
|
#!/bin/bash
export GTA_PATH=/home/sampsvr
cd $GTA_PATH
while [ true ]; do
cat {$GTA_PATH}/server_log.txt >> {$GTA_PATH}/full_server_log.txt
rm {$GTA_PATH}/server_log.txt
touch {$GTA_PATH}/server_log.txt
./samp03svr
done
|
Код:
#!/bin/bash
export GTA_PATH=/home/sampsvr
cd $GTA_PATH
while [ true ]; do
cat {$GTA_PATH}/server_log.txt >> {$GTA_PATH}/full_server_log.txt
rm {$GTA_PATH}/server_log.txt
touch {$GTA_PATH}/server_log.txt
./samp03svr
done
|
cd pnk nohup ./zodiak.sh &
nohup: cannot run command `./zodiak.sh': Permission denied
nohup: cannot run command `./zodiak.sh': No such file or directory
-bash: /zodiak.zh: No such file or directory
#!/bin/bash
export GTA_PATH=/home/sampsvr
cd $GTA_PATH
while [ true ]; do
cat {$GTA_PATH}/server_log.txt >> {$GTA_PATH}/full_server_log.txt
rm {$GTA_PATH}/server_log.txt
touch {$GTA_PATH}/server_log.txt
./samp03svr
done
export GTA_PATH=/home/sampsvr