[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [nas] How to set the path of the socked files for nas



Frank Büttner schrieb:
> 
> So I have modify the audio/Aproto.h file, but this change only an part
> of all. In the library file the new path will be used. But at the demon
> itself, the old path is used. So there must be one file more, which must
> be changed.
> 
> 
> Frank
> 

So now I think I have found it. I have attach an patch, witch will show
the section. Can somebody verify it, that I have found all?

Thanks
Frank
diff -Naur nas-1.9.org/lib/audio/Aproto.h nas-1.9/lib/audio/Aproto.h
--- nas-1.9.org/lib/audio/Aproto.h	2006-08-13 20:33:08.000000000 +0200
+++ nas-1.9/lib/audio/Aproto.h	2007-08-11 17:58:47.000000000 +0200
@@ -99,7 +99,7 @@
 
 #define AU_DEFAULT_TCP_PORT		8000
 #define AU_DEFAULT_DECNET_TASK		"AUDIO$"
-#define AU_DEFAULT_UNIX_PATH		"/tmp/.sockets/audio"
+#define AU_DEFAULT_UNIX_PATH		"/var/run/nasd/audio"
 
 #define auFalse				0
 #define auTrue				1
diff -Naur nas-1.9.org/server/os/connection.c nas-1.9/server/os/connection.c
--- nas-1.9.org/server/os/connection.c	2007-03-18 07:55:09.000000000 +0100
+++ nas-1.9/server/os/connection.c	2007-08-11 19:05:02.000000000 +0200
@@ -203,10 +203,10 @@
 #ifdef hpux
 #define X_UNIX_DIR      "/usr/spool/sockets/audio"
 #define X_UNIX_PATH     "/usr/spool/sockets/audio/"
-#define OLD_UNIX_DIR    "/tmp/.sockets"
+#define OLD_UNIX_DIR    "/var/run/nasd"
 #else
-#define X_UNIX_DIR      "/tmp/.sockets"
-#define X_UNIX_PATH     "/tmp/.sockets/audio"
+#define X_UNIX_DIR      "/var/run/nasd"
+#define X_UNIX_PATH     "/var/run/nasd/audio"
 #endif
 #endif
 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature