Jump to content
  • 0
Sorxes

mangos one Ubuntu 16.04 -> Multiple Servers on Startup -> .service

Question

Hey!

I Just installed an zero and one server at the same time. shareing one realmdb and one realmd process. everything working fine.

now i wanted the servers to be startup automatically on system start. but when i use the provided "mangosd.service" way with two servers -> "zero_mangosd.service" and "one_mangosd.service" at the startup one kills another session and it doesnt work. changed all the needed informations. starting one works fine. altough starting both by hand in the terminal works fine.

think "TTYVHangup=yes" kills the second process

 

need help to execute both at startup und keep them restarting on crash. thx a lot!

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I got it working

Just change the ttypath number in the. Service file. 

 

For example the changed file. Looks like that. Changed it to 4 for the second server. While the first runs at 3

[Unit]
Description=WoW Vanilla service
After=network.target mysql.service [email protected]

[Service]
Type=simple
User=mangos
ExecStart=/home/mangos/zero/bin/mangosd -c /home/mangos/zero/etc/mangosd.conf
WorkingDirectory=/home/mangos/zero/bin
StandardInput=tty
TTYPath=/dev/tty4
TTYReset=yes
TTYVHangup=yes
Restart=on-abort

[Install]
WantedBy=multi-user.target

Share this post


Link to post
Share on other sites
  • 0

I had the same issue as I run four servers at the end the only server i have auto starting is the login  server all other servers I do manually as I was unable to find away to get all of them to run. 

Share this post


Link to post
Share on other sites

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use