Installing SmartFoxServer 1.x as a daemon

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

Moderators: Lapo, Bax

grookier
Posts: 26
Joined: 28 Sep 2016, 10:40

Installing SmartFoxServer 1.x as a daemon

Postby grookier » 12 Nov 2018, 11:18

Good morning,

I would like to install SmartFoxServer 1.6.20 as a service.

I only found the documentation for SmartFoxServer 2.x

Code: Select all

[Unit]
Description=SmartFoxServer 2X
After=network.target

[Service]
Type=forking
User=root
WorkingDirectory=/path/to/SmartFoxServer_2X/SFS2X
ExecStart=/path/to/SmartFoxServer_2X/SFS2X/sfs2x-service start
ExecStop=/path/to/SmartFoxServer_2X/SFS2X/sfs2x-service stop
Restart=on-abort

[Install]
WantedBy=multi-user.target


I have Ubuntu 18.04
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Installing SmartFoxServer 1.x as a daemon

Postby Lapo » 13 Nov 2018, 08:36

Hi,
I don't know it's possible, as SFS PRO is pretty old and not designed for the most recent Linux distros.
You may try using the same doc for SFS2X and adapt it to the PRO to see if it works.

Unfortunately we no longer support SFS PRO, besides security patches, so I would highly recommend moving to SFS2X for any serious game dev project.

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 38 guests