Questions and Answers :
Unix/Linux :
Create a Service??
Message board moderation
Author | Message |
---|---|
paranoid Send message Joined: 6 Sep 03 Posts: 2 Credit: 43,509 RAC: 0 ![]() |
Hi, I am very new to linux, but not to SETI. I converted one of my SETI rigs to a linux box and currently have SETI running. I would like SETI to start on boot...I looked around and it appears I want it to be a "service" ??? I found a script and downloaded it and followed the directions but when I issued the command: service boinc start it says FAILED... can anyone help me??? |
paranoid Send message Joined: 6 Sep 03 Posts: 2 Credit: 43,509 RAC: 0 ![]() |
> Have you started boinc manually from the command line and attached to a > project before trying the service script? > > Can you post a link to the script? It's hard to offer much help if nobody > knows what script you're using. > yes i have started boinc from the command line and attached the project before trying the script. http://noether.vassar.edu/~myers/help/boinc/unix.html look at step 4, the link to the script is in there. thanks for the help! |
HOAP ![]() Send message Joined: 11 May 01 Posts: 35 Credit: 28,021 RAC: 0 ![]() |
That script will only work with Red Hat (perhaps some others but every distribution has its own way of doing things) Take a look around the forum, you're not the first that asked this question... |
Phil Wieland Send message Joined: 9 Aug 00 Posts: 47 Credit: 748,038 RAC: 0 ![]() |
I use a crontab entry to achieve this: First make a simpler file name for boinc by typing ln -s boinc_4.05_i686-pc-linux-gnu go (When a new version of boinc comes out you only have to change this symbolic link.) Then add the following line to your crontab: 13 13 * * * cd /home/webserve/boinc; exec ./go >>go.log 2>/dev/null Modify the directory as appropriate. If you often shut down the machine you might want to change the crontab so it tries every few hours instead of once a day. All the other good advice about making sure the user can execute boinc still applies, of course. Phil <BR>Liverpool, UK <BR> |
©2025 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.