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