MONO_DISABLE_SHM and redirects
authorMiguel de Icaza <miguel@gnome.org>
Tue, 5 Apr 2005 23:39:06 +0000 (23:39 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 5 Apr 2005 23:39:06 +0000 (23:39 -0000)
svn path=/trunk/mono/; revision=42590

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