MONO_DISABLE_SHM and redirects
[mono.git] / scripts / mono-service.in
index bb5a8185033c7722ab1198be750635c6a22293aa..6cc174c7d3b1d7cbcba903af56241926bc6fe503 100644 (file)
@@ -16,4 +16,5 @@ if test x$assembly = x; then
        exit 1
 fi
 
-exec @bindir@/@mono_interp@ @mono_one_instdir@/@exe_file@ "$args"
\ No newline at end of file
+export MONO_DISABLE_SHM=1
+exec @bindir@/@mono_interp@ @mono_one_instdir@/@exe_file@ "$args" </dev/null >& /dev/null
\ No newline at end of file