--- /etc/init.d/exabgp	2012-03-24 14:56:07.000000000 +0100
+++ /etc/init.d/exabgp-patch	2013-03-22 23:46:39.384083648 +0100
@@ -61,6 +61,8 @@
                         #   1 if daemon was already running
                         #   2 if daemon could not be started
 			# We create the PID file and we do background thanks to start-stop-daemon
+                        [ -d /var/run/$NAME ] || \
+                          install -d$USER -o -groot -m750 /var/run/$NAME
                         start-stop-daemon --start --quiet --pidfile $PIDFILE -c $USER -b -m --exec $DAEMON -- $DAEMON_OPTS || return 2
                 else
                         log_daemon_msg "$NAME is already running!"
