Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I downloaded a webserver (Abyss), because I'm to stupid to use apache. But I'm having some difficulties running it as a daemon automatticly at boot-time. When i just run "abyssws -d" at the prompt however, it works fine.
How do you add new services into a runlevel in debian 3.0 (should be the same in other dists.)?
there is a set of folders or scripts in your /etc directory problably in rc.d each should be an rc.x script, they run all nessacary services for a certain runlevel, if you add a script to run abyssws to your init 3 multiuser runlevel it will start at boot.
Find out the runlevel you'd like to run the service on (to list your current one, use teh command 'runlevel') and look into /etc/. Inside (among ither things) you have drectories like rcX.d/ where X is the runlevel. Inside every directory you have symlinks to starting scripts (script names are SXXsomething; they're run in the order of XX). What you need to do is write such a script. To make things easier, there's /etc/init.d/skeleton. It's a file you fill with the right commands to run and stop the service and the script is ready. Very simple example:
i want to do exactly the same, but my only problem is that i am not running smoothwall express, i tried to use the same script, and i put it in /etc/rc.d/init.d, but abyss did not start? is it me or is it smoothwall ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.