#! /bin/sh -
# rc.perp: perpd startup script for perpboot
# ===

### --- configure ---
PERPD_OPTS="-a6"

### --- script ---

set -e

## exec perpd:
##   * options as configured above
##   * runchoom(8) abate linux oom-killer
##   * runlimit(8) configured in ./rlimit.conf
##   * PERP_BASE defined in environment by perpboot(8)
exec \
  runchoom \
  runlimit -F ./rlimit.conf \
  perpd ${PERPD_OPTS} ${PERP_BASE}

### EOF
