Automic starting sfs on linux reboot

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
paco
Posts: 16
Joined: 01 Apr 2005, 19:58
Location: Holland
Contact:

Automic starting sfs on linux reboot

Post by paco »

Is it possible to automaticly start the server on reboot of a debian sarge linux system? Maybe to put the shell-script in a particual place?

i hate to admit i'm not a linux wizz
Paco
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Hi Paco,
yes it is possible with the latest 1.3.0 version (Basic and Pro)

The new version for Linux comes with a simple installer and does not need the Java Runtime anymore.
We've actually embedded the JRE in the package to make it easier to setup everything without the hassle of configuring the JRE.

About starting SFS at boot time we provide instructions in our online docs >> http://www.smartfoxserver.com/docs/
Check chapter 1.3, Linux section where it talks about "Installing SmartFoxServer as a Linux daemon"

We've tested it under RedHat, Mandrake and Ubuntu (which is derived from Debian)

let me know how it goes :)
Lapo
--
gotoAndPlay()
...addicted to flash games
paco
Posts: 16
Joined: 01 Apr 2005, 19:58
Location: Holland
Contact:

Post by paco »

Hi Lapo,

The server runs fine, on debian Sarge. It's only the demo version though.

I've read the the new docs...

I'm not sure what my runlevel is. There are 6 rcX.d folders and one that is called rcS.d.

It's not my server (but I'm granted root access). I hate to try anything without knowing what will happen.

I could surf the internet reading about runlevels and linux (i will), but do you perhaps know how to determine that runlevel?

Anyway thanks, for the hints

Paco
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

99% of the times you're running runlevel 3 (no graphic UI, terminal only) or runlevel 5 (with GUI)

Try typing "runlevel" in the terminal and see what it says

Check this page for more info >> http://en.wikipedia.org/wiki/Runlevel

:)
Lapo
--
gotoAndPlay()
...addicted to flash games
paco
Posts: 16
Joined: 01 Apr 2005, 19:58
Location: Holland
Contact:

Post by paco »

Tanks,

I typed in

who -r

and run-level 2 Nov 5 08:57 last=S came out




Paco :D
Post Reply