PDA

View Full Version : Auto Start EQEMU on Bootup


jpyou127
05-21-2015, 12:56 PM
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!