EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Auto Start EQEMU on Bootup (https://www.eqemulator.org/forums/showthread.php?t=39687)

jpyou127 05-21-2015 12:56 PM

Auto Start EQEMU on Bootup
 
I have been successful in finally getting a Linux (deb x32) up and running with mercs and bots functional on the latest releases. Fun experience learning about Linux and MySQL.

I have found several posts with scripts presented to auto start EQEMU required programs, but I cannot seem to get them to work. I even tried to cobble together one of my own to start one as a service with no luck using the init.d feature.

Any Linux Masters out there help me with this one?

Peyton

epilz 05-21-2015 01:19 PM

Look up how to create a cron task. You can use that for executing scripts at start up

jpyou127 05-21-2015 01:24 PM

I read that somewhere, but have not tried that yet!

Thanks!

Flopz 08-10-2015 06:39 PM

What you want is for your init process to run it, not cron. Cron can do it but it's basically a hack.

If your version of Debian uses systemd, you'll want to make a unit file. You can see the ones I'm using in my post history.

If it's using sysvinit still, you'll want either a /etc/init.d script or to put it in your /etc/inittab. The latter will ensure that it starts back up if it crashes.

jpyou127 08-11-2015 03:59 PM

Thanks Flopz, will send a PM if I have questions!


All times are GMT -4. The time now is 06:16 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.