Index: /main/waeup.sirp/trunk/buildout.cfg
===================================================================
--- /main/waeup.sirp/trunk/buildout.cfg	(revision 5502)
+++ /main/waeup.sirp/trunk/buildout.cfg	(revision 5503)
@@ -16,4 +16,6 @@
     coverage-detect
     coverage-report
+# sirpctl creation must be _after_ app!
+    sirpctl
 # For backward compatibility, telling buildout not to throw away
 # the data and log subdirectories from the parts directory.
@@ -42,6 +44,6 @@
 lovely.recipe = 1.0.0    # Pinned to prevent buildout svn-error.
 
-
 [app]
+# This creates all scripts in bin/. The sirpctl created here is 'faulty'.
 recipe = zc.recipe.egg
 eggs = waeup.sirp
@@ -51,4 +53,13 @@
        PasteDeploy
 interpreter = python-console
+
+[sirpctl]
+# See http://pypi.python.org/pypi/zc.recipe.egg for details...
+# Here we create the sirpctl script again, this time with a 
+# fixed path to zdaemon.conf as argument.
+recipe = zc.recipe.egg
+eggs = waeup.sirp
+arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
+scripts = sirpctl=sirpctl
 
 [mkdirs]
