Rename file
This commit is contained in:
parent
347dfa0af6
commit
9f4fbe2499
@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
exe=$(basename $0)
|
||||
|
||||
exec firejail --noprofile --quiet \
|
||||
--rlimit-cpu=1 \
|
||||
--rlimit-as=100m \
|
||||
--rlimit-fsize=1m \
|
||||
"$exe" "$@"
|
||||
@ -1 +1 @@
|
||||
./firejailed.sh
|
||||
run-restricted
|
||||
14
_web_server/server/run-restricted
Executable file
14
_web_server/server/run-restricted
Executable file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
exe=$(basename $0)
|
||||
|
||||
if [ -z "$DONOTUSEFIREJAIL" ]; then
|
||||
exec firejail \
|
||||
--quiet --noprofile \
|
||||
--rlimit-cpu=5 \
|
||||
--rlimit-as=250m \
|
||||
--rlimit-fsize=250k \
|
||||
"$exe" "$@"
|
||||
else
|
||||
exec timeout -v -s INT 5 "$exe" "$@"
|
||||
fi
|
||||
@ -1 +1 @@
|
||||
./firejailed.sh
|
||||
run-restricted
|
||||
Loading…
x
Reference in New Issue
Block a user