Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
Hi,
im running cvstrac on my server as its own server.
I have a script runcvstrac which i have put in the init.d directory and i created its symbolic link in rc5.d for it run at startup and it works fine
but the problem since its a forever running process so during boot time it just gets stuck there saying starting cvstrac server .
so basically the cvstrac server starts but then gets stuck becvause it cannot run another process.
Should i add it into some other run level ?
also i dont want the script to run as root but a normal user. SO what can i do
i am using Oracle linux 5 and it is a simple shell script with these two commands
cd /cvs/CVSROOT
cvstrac server 8008 /somepath
Add a "&" at the end of your command so it starts and runs in the background.
Note also that you could put your script in /etc/rc.local, so it executes last when your system boots
thanks a lot for you help bathory...that solves one of my problems...
but the script still runs as root
i want it to run as a normal user
would a su username in the script solve the problem ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.