Installing SmartFoxServer 1.x as a daemon
Posted: 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
I have Ubuntu 18.04
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