summaryrefslogtreecommitdiff
path: root/icecream.confd
diff options
context:
space:
mode:
Diffstat (limited to 'icecream.confd')
-rw-r--r--icecream.confd29
1 files changed, 17 insertions, 12 deletions
diff --git a/icecream.confd b/icecream.confd
index 16f79d9..74ed11e 100644
--- a/icecream.confd
+++ b/icecream.confd
@@ -1,32 +1,37 @@
-# Identification for the network the scheduler and daemon run on.
-NETNAME="icecream"
+# User to run the service as.
+ICECREAM_USER="-u icecream"
+
+# Identification for the network the daemon will connect to.
+ICECREAM_NETNAME="-n icecream"
# icecream daemon log file
-ICECREAM_LOG_FILE="/var/log/icecream/iceccd"
+ICECREAM_LOG_FILE="-l /var/log/icecream/iceccd"
-# Nice level of running compilers
-NICE="5"
+# Nice level of running compilers.
+ICECREAM_NICE="--nice 5"
# If the daemon can't find the scheduler by broadcast (e.g. because
# of a firewall) you can specify it.
-#SCHEDULER=""
+#ICECREAM_SCHEDULER="-s 127.0.0.1"
# This is the directory where the icecream daemon stores the environments
# it compiles in. In a big network this can grow quite a bit, so use some
# path if your /tmp is small - but the user icecream has to write to it.
-ICECREAM_BASEDIR="/var/cache/icecream"
+ICECREAM_BASEDIR="-b /var/cache/icecream"
# You can overwrite here the number of jobs to run in parallel. Per
# default this depends on the number of (virtual) CPUs installed.
#
# Note: a value of "0" is actually interpreted as "1", however it
# also sets ICECREAM_ALLOW_REMOTE="no".
-#MAXJOBS=""
+#ICECREAM_MAXJOBS="-m 4"
# Specifies whether jobs submitted by other nodes are allowed to run on
# this one.
-#NOREMOTE="--no-remote"
+#ICECREAM_NOREMOTE="--no-remote"
+
+# Specifies the cache size stored on disk in the ICECREAM_BASEDIR
+# Default is 256 MiB
+ICECREAM_CACHELIMIT="--cache-limit 1024"
-#ICECREAM_OPTS="-u icecream -n $NETNAME -l $ICECREAM_LOG_FILE --nice $NICE -s $SCHEDULER -b ${ICECREAM_BASEDIR} ${MAXJOBS} ${NOREMOTE}"
-#ICECREAM_OPTS="-u icecream -n $NETNAME -l $ICECREAM_LOG_FILE --nice $NICE -s $SCHEDULER -b ${ICECREAM_BASEDIR}"
-ICECREAM_OPTS="-u icecream -n $NETNAME -l $ICECREAM_LOG_FILE --nice $NICE -b ${ICECREAM_BASEDIR}"
+ICECREAM_OPTS=" ${ICECREAM_USER} ${ICECREAM_NETNAME} ${ICECREAM_LOG_FILE} ${ICECREAM_NICE} ${ICECREAM_SCHEDULER} ${ICECREAM_BASEDIR} ${ICECREAM_MAXJOBS} ${ICECREAM_NOREMOTE} ${ICECREAM_CACHELIMIT}"