We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9fac0 commit cf5a020Copy full SHA for cf5a020
opencpu-server/rapache/onstartup.R
@@ -38,7 +38,9 @@ unix:::set_interactive(FALSE)
38
options(rapache = TRUE)
39
40
#Check if AppArmor is available
41
-if(identical(unix::aa_config()$con, "unconfined")){
+if(nchar(Sys.getenv("OCPU_DISABLE_APPAROR"))){
42
+ cat("AppArmor has been disabled!\n")
43
+} else if(identical(unix::aa_config()$con, "unconfined")){
44
options(apparmor = TRUE)
45
cat("AppArmor available! Running OpenCPU with security profile and rlimits.\n")
46
} else {
0 commit comments