forked from pool/boinc-client
92 lines
3.4 KiB
Diff
92 lines
3.4 KiB
Diff
--- client/scripts/boinc-client.conf.orig 2008-08-28 14:24:15.000000000 +0200
|
|
+++ client/scripts/boinc-client.conf 2008-08-28 14:22:55.000000000 +0200
|
|
@@ -0,0 +1,63 @@
|
|
+## Path: Applications/BOINC
|
|
+## Description: Define userid under which boinc-client is run
|
|
+## Type: string
|
|
+## Default: "root"
|
|
+## Config: boinc-client
|
|
+# Here you should change the default value to another existing user,
|
|
+# for example use your (non-root) account.
|
|
+BOINCUSER="root"
|
|
+## Path: Applications/BOINC
|
|
+## Description: Define directory in which boinc-client is run
|
|
+## Type: string
|
|
+## Default: "/var/lib/boinc"
|
|
+## Config: boinc-client
|
|
+# Enter the dirctory where boinc-client shall store the project data.
|
|
+BOINCDIR="/var/lib/boinc"
|
|
+## Path: Applications/BOINC
|
|
+## Description: Define log file
|
|
+## Type: string
|
|
+## Default: "/var/log/boinc_client.log"
|
|
+## Config: boinc-client
|
|
+# Name and location of boinc logfile, normally no change necessary.
|
|
+LOGFILE="/var/log/boinc_client.log"
|
|
+## Path: Applications/BOINC
|
|
+## Description: Define error log file
|
|
+## Type: string
|
|
+## Default: "/var/log/boinc_client_err.log"
|
|
+## Config: boinc-client
|
|
+# Name and location of boinc error-logfile, normally no change necessary.
|
|
+ERRORLOG="/var/log/boinc_client_err.log"
|
|
+## Path: Applications/BOINC
|
|
+## Description: Define pid file
|
|
+## Type: string
|
|
+## Default: "/var/run/boinc_client.pid"
|
|
+## Config: boinc-client
|
|
+# Name and location of boinc pid-file, normally no change necessary.
|
|
+PIDFILE="/var/run/boinc_client.pid"
|
|
+## Path: Applications/BOINC
|
|
+## Description: Define lockfile
|
|
+## Type: string
|
|
+## Default: "/var/lock/subsys/boinc_client"
|
|
+## Config: boinc-client
|
|
+# Name and location of boinc lockfile, normally no change necessary.
|
|
+LOCKFILE="/var/lock/subsys/boinc_client"
|
|
+## Path: Applications/BOINC
|
|
+## Description: Define BOINC options
|
|
+## Type: string
|
|
+## Default: "--dir $BOINCDIR"
|
|
+## Config: boinc-client
|
|
+# Add this option if you want to allow boinc manager connections from remote machines
|
|
+# BOINCOPTS="--allow_remote_gui_rpc"
|
|
+#
|
|
+# Add this option if you want to turn off all logging
|
|
+# BOINCOPTS="--daemon"
|
|
+#
|
|
+# Add this option if you want to redirect logging to the files stderrdae.txt
|
|
+# and stdoutdae.txt in BOINCDIR rather than LOGFILE and ERRORLOG
|
|
+# BOINCOPTS="--redirectio"
|
|
+#
|
|
+# Add this option if you want to run only when no logins from anywhere are active
|
|
+# BOINCOPTS="--check_all_logins"
|
|
+#
|
|
+# For more options read the manpages.
|
|
+BOINCOPTS="--dir $BOINCDIR"
|
|
--- client/scripts/Makefile.am.orig 2008-08-25 22:29:15.000000000 +0200
|
|
+++ client/scripts/Makefile.am 2008-08-25 22:47:29.000000000 +0200
|
|
@@ -1,7 +1,17 @@
|
|
-all:
|
|
- chmod +x boinc-client
|
|
-
|
|
-install:
|
|
- $(INSTALL) -b boinc-client /etc/init.d/
|
|
+## -*- mode: makefile; tab-width: 4 -*-
|
|
|
|
+install-exec-hook:
|
|
+ chmod +x boinc-client
|
|
+ $(INSTALL) -d $(DESTDIR)/etc/init.d
|
|
+ $(INSTALL) -b boinc-client $(DESTDIR)/etc/init.d/boinc-client
|
|
+ if [ -d /etc/sysconfig ] ; then \
|
|
+ $(INSTALL) -d $(DESTDIR)/etc/sysconfig ; \
|
|
+ $(INSTALL) -m644 boinc-client.conf $(DESTDIR)/etc/sysconfig/boinc-client ; \
|
|
+ elif [ -d /etc/default ] ; then \
|
|
+ $(INSTALL) - $(DESTDIR)/etc/default ; \
|
|
+ $(INSTALL) -m644 boinc-client.conf $(DESTDIR)/etc/default/boinc-client ; \
|
|
+ else \
|
|
+ $(INSTALL) -d $(DESTDIR)/etc ; \
|
|
+ $(INSTALL) -m644 boinc-client.conf $(DESTDIR)/etc/boinc-client.conf ; \
|
|
+ fi
|
|
|