Jump to content
  • 0

Ubuntu running realmd / mangosd


Urlryn

Question

4 answers to this question

Recommended Posts

~$ sudo apt-get install screen


~/mangoszero$ cat /etc/rc.local 
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.


su -l -c /home/arli/mangoszero/play.sh arli


exit 0


~/mangoszero$ cat play.sh 
#!/bin/sh
# script by arliweng<[email protected]>
# wait for mysql startup.


sleep 5
cd /opt/mangoszero/bin/
screen -mdS mangosd ./mangosd
screen -mdS realmd ./realmd

Link to comment
Share on other sites

It looks like this can be done in various ways based on the above documentation and what i've seen other people do.

I'm pretty much opening two putty sessions to start realmd and mangosd. I used to have a script that would do both in one session but forgot how i did it lol.

If I can come up with something and/or find something that works...i'll post it up here unless someone beats me to it! :)

Urlryn

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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