eris/sandbox_fs
Andrew Hamilton d4e375b1fb Decided to use setpriority to set the niceness.
Apparently ionice is set automatically when nice is set.
2016-11-10 00:13:04 +01:00

9 lines
155 B
Bash
Executable file

#!/bin/bash
set -e
SCRIPT_PATH=$(realpath $0)
SCRIPT_DIR=$(dirname $SCRIPT_PATH)
exec unshare --mount --map-root-user "$SCRIPT_DIR/sandbox_fs.py" "$@"