Decided to use setpriority to set the niceness.
Apparently ionice is set automatically when nice is set.
This commit is contained in:
parent
4b48c0c912
commit
d4e375b1fb
2 changed files with 3 additions and 6 deletions
|
|
@ -6,4 +6,4 @@ set -e
|
|||
|
||||
SCRIPT_PATH=$(realpath $0)
|
||||
SCRIPT_DIR=$(dirname $SCRIPT_PATH)
|
||||
unshare --mount --map-root-user "$SCRIPT_DIR/sandbox_fs.py" "$@"
|
||||
exec unshare --mount --map-root-user "$SCRIPT_DIR/sandbox_fs.py" "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue