User configuration file

Emil em at la.mine.nu
Mon Apr 19 14:44:02 GMT 2004


Since the RSYNCD_USERCONF resides in the user home directory isn't it
more sensible to name that file dot-something ?

diff -urN rsync-2.6.0/rsync.h rsync-2.6.0-new/rsync.h
--- rsync-2.6.0/rsync.h 2003-12-16 23:04:59.000000000 +0000
+++ rsync-2.6.0-new/rsync.h     2004-04-19 15:39:12.000000000 +0100
@@ -28,7 +28,7 @@

 #define RSYNC_NAME "rsync"
 #define RSYNCD_SYSCONF "/etc/rsyncd.conf"
-#define RSYNCD_USERCONF "rsyncd.conf"
+#define RSYNCD_USERCONF ".rsyncd"

 #define DEFAULT_LOCK_FILE "/var/run/rsyncd.lock"
 #define URL_PREFIX "rsync://"



More information about the rsync mailing list