How to add an application to run as a service in Linux?

Mandriva seems quite similar to Red Hat in it's handling of startup scripts. If you installed the software from an RPM and it is designed to be run as a server then there is probably an init script already available.

If you run:

chkconfig --list

You can see all of the daemons that might potentially be run at startup. If the program you wish to start is in that list then you probably just need to configure it to start when your computer loads. Do this with:

chkconfig --level 345 <service_name> on

If it isn't in the list then you have a little more work to do. http://wiki.mandriva.com/en/Working_with_initscripts has all the gory details.