- Add firewalld rules, remove SuSEFirewall2 config - Add systemd service units for icecream, icecream-scheduler - Create socket and environment directories using tmpfiles.d - Strip no longer needed options from config file - Spec file cleanup: - remove cruft for 12.2 and older - use %license tag OBS-URL: https://build.opensuse.org/request/show/620080 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/icecream?expand=0&rev=64
26 lines
541 B
Bash
26 lines
541 B
Bash
#! /bin/sh
|
|
|
|
params=""
|
|
|
|
if test -n "$ICECREAM_NETNAME"; then
|
|
params="$params -n $ICECREAM_NETNAME"
|
|
fi
|
|
|
|
if test -n "$ICECREAM_SCHEDULER_HOST"; then
|
|
params="$params -s $ICECREAM_SCHEDULER_HOST"
|
|
fi
|
|
|
|
if test "$ICECREAM_ALLOW_REMOTE" = "no" 2> /dev/null; then
|
|
params="$params --no-remote"
|
|
fi
|
|
|
|
if test -n "$ICECREAM_MAX_JOBS"; then
|
|
if test "$ICECREAM_MAX_JOBS" -eq 0 2> /dev/null; then
|
|
params="$params -m 1 --no-remote"
|
|
else
|
|
params="$params -m $ICECREAM_MAX_JOBS"
|
|
fi
|
|
fi
|
|
|
|
exec /usr/sbin/iceccd $@ $params
|