Starting BOINC on boot (Unix)
From BOINC
You may want to arrange to run the BOINC client each time your machine boots, or launch the BOINC Manager whenever you log in. Listed below are instructions and pointers for doing so on a variety of Unix systems.
[edit] Automatic startup on Unix
Linux (and now most Unix systems) use the SYSV "init" system to start system services (called "daemons") at boot time. To start the BOINC client when your computer turns on you need to install an "init" script which starts the core client, and you may have to edit a configuration file, if your BOINC installation is not where the init script thinks it would be.
Various BOINC volunteers have contributed scripts for automatic startup of BOINC as a daemon on various versions of Unix:
- Red Hat Linux. (includes general instructions and an init script for installing on almost all Unix systems).
- BOINC on Debian Linux.
- BOINC on Mandriva Linux
- Linux with KDE.
- Red Hat 9, should also work on Solaris
- Gentoo Linux (from Gabor Nagy)
- HPUX (mostly relevant to UNIX in general)
- An init script for running BOINC under SuSE Linux (9.2 and 9.3)
- BOINC on FreeBSD
- BOINC on Ubuntu 9.x (now with more security)
[edit] KDE
To automatically launch the BOINC Manager when you log in using KDE just create a text file in $HOME/.kde/Autostart (or $HOME/.kde4/Autostart for KDE4) containing these two lines.
#!/bin/bash
exec ${HOME}/BOINC/boincmgr $@
Then make this file executable by giving the command:
chmod u+x $HOME/.kde*/Autostart
If the Autostart file already exists, just add the line which executes boincmgr. If boincmgr is installed somewhere other than $HOME/BOINC use the path to wherever it's installed.
[edit] Automatic startup on Mac OS X
Note: the Mac Standard GUI installation arranges for BOINC to run on user login.
To automatically run BOINC as a daemon or system service at boot time, or to prevent BOINC from launching automatically when selected users log in, see the tools for Mac OS X.

