Skip to content

superwow/mangos-init-script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

mangos-init-script

init script of MaNGOS/CMaNGOS for CentOS/RedHat

Usage

Put realmd and mangosd into /etc/init.d/

Set permissions

chmod a+x /etc/init.d/realmd
chmod a+x /etc/init.d/mangosd

Start service

service realmd start
service mangosd start

Start with system

chkconfig realmd on
chkconfig mangosd on

Reattach

screen -r realmd
screen -r mangosd

Stop service

service realmd stop
service mangosd stop

Customize

realmd

BASENAME=realmd
EXEC=/opt/mangos/bin/$BASENAME
USER=mangos

BASENAME the executable binary name

EXEC path to BASENAME

USER the user to run in

mangosd

see above

About

init script of MaNGOS/CMaNGOS for CentOS/RedHat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%