Index: conf/mailjam.conf
===================================================================
--- conf/mailjam.conf	(revision 16)
+++ conf/mailjam.conf	(revision 33)
@@ -10,4 +10,5 @@
 ssl_crt = /usr/local/etc/mailjam/ssl/mailjam.crt
 logfile = /var/log/mailjam/xmlrpc_server.log
+accesslog = /var/log/mailjam/access.log
 
 [storage]
Index: mailjam/__init__.py
===================================================================
--- mailjam/__init__.py	(revision 29)
+++ mailjam/__init__.py	(revision 33)
@@ -11,6 +11,5 @@
 """
 
-__version__ = '0.1.0'
-
+__version__ = '0.1.1'
 
 from mailjam.models import Member, MailingList
Index: mailjam/daemon.py
===================================================================
--- mailjam/daemon.py	(revision 31)
+++ mailjam/daemon.py	(revision 33)
@@ -235,5 +235,5 @@
             self.server = SimpleXMLRPCServer((self.address, self.port),
                                              allow_none=True,
-                                             logRequests=False)
+                                             logRequests=True)
             self.server.register_introspection_functions()
         return True
Index: mailjam/tests/mailjam.conf
===================================================================
--- mailjam/tests/mailjam.conf	(revision 16)
+++ mailjam/tests/mailjam.conf	(revision 33)
@@ -12,4 +12,5 @@
 ssl_crt = /usr/local/etc/mailjam/ssl/mailjam.crt
 logfile = /tmp/mailjam-tests/xmlrpc_server.log
+accesslog = /var/log/mailjam/access.log
 
 [storage]
Index: setup.py
===================================================================
--- setup.py	(revision 30)
+++ setup.py	(revision 33)
@@ -2,9 +2,18 @@
 from distutils.core import setup
 
+# Yes, I'm ommiting windoze...
+BSDs = ['FreeBSD', 'OpenBSD', 'NetBSD', 'DragonFlyBSD']
+linux = ['Linux']
+osx = ['Darwin']
+
 def proper_etc_path():
-    # Yes, I'm ommiting windoze...
-    BSDs = ['FreeBSD', 'OpenBSD', 'NetBSD', 'DragonFlyBSD']
-    linux = ['Linux']
-    osx = ['Darwin']
+    """
+    Try to set the proper path for configuration files, depending
+    on the operating system.
+
+    FIXME: I'm not sure this would work fine, as this will be executed
+    when running python setup.py sdist, not when installing from the
+    source package.
+    """
     os_name = os.uname()[0]
     if os_name in BSDs:
@@ -12,11 +21,29 @@
     if os_name in linux or os_name in osx:
         return '/etc/'    
+    return ''
+
+def proper_rc_path():
+    """
+    Similar to proper_etc_path(), returns the path where startup scripts
+    should be placed
+    """
+    os_name = os.uname()[0]
+    etc_path = proper_etc_path()
+    if os_name in 'BSDs':
+        return etc_path+'rc.d'
+    if os_name in linux:
+        return etc_path+'init.d'
+    if os_name in osx:
+        # FIXME: not sure about where startup scripts should be placed in
+        # "stock" osx (no macports, no homebrew, etc)
+        return etc_path
+    return ''
 
 setup(
     name='mailjam',
-    version='0.1.0',
+    version='0.1.1',
     author='Francisco de Borja Lopez Rio',
     author_email='borja@codigo23.net',
-    packages=['mailjam'],
+    packages=['mailjam'],    
     url='https://bitbucket.org/codigo23/mailjam',
     license='BSD licence, see LICENSE',
@@ -26,5 +53,5 @@
     data_files=[(proper_etc_path()+'mailjam', ['conf/mailjam.conf',
                                                'conf/mailjam-mta.conf',
-					       'conf/mailjam-cli.conf']),
-                ]
+    					       'conf/mailjam-cli.conf']),
+                (proper_rc_path(), ['bin/rc.d/mailjam'])]
 )
