icecream/iceccd-wrapper
Martin Pluskal c474bdd3d0 Accepting request 620080 from home:StefanBruens:branches:devel:tools:building
- 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
2018-07-17 12:02:01 +00:00

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