mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
fc8c8b05ea
Signed-off-by: Edward W. Koenig <kingbeowulf@linuxgalaxy.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
27 lines
839 B
Text
27 lines
839 B
Text
For headless operation, a start up script is included. The script will
|
|
execute as root with the data directory as '/var/lib/boinc_data'.
|
|
Modify as needed:
|
|
|
|
BOINC_DIR=/var/lib/boinc_data # directory of boinc files
|
|
BOINC_USER=root # user that will run boinc process
|
|
|
|
Refer to the boinc manpage for parameters you can add to
|
|
BOINC_OPTIONS.
|
|
|
|
To run boinc on boot, add the following code to /etc/rc.d/rc.local:
|
|
|
|
if [ -x /etc/rc.d/rc.boinc ]; then
|
|
/etc/rc.d/rc.boinc start
|
|
fi
|
|
|
|
and to /etc/rc.d/rc.local_shutdown
|
|
|
|
if [ -x /etc/rc.d/rc.boinc ]; then
|
|
/etc/rc.d/rc.boinc stop
|
|
fi
|
|
|
|
Note: The default configuration enables boinc control on the running
|
|
host via boinccmg or boincmgr on th same running host. To truly run
|
|
headless, you will need to configure boinc to allow RPC access from
|
|
another host.
|
|
|