title: redis.conf include: "Bad directive or wrong number of arguments"
body: <p>I've created this config for redis [/etc/redis/map.conf]:</p>
  
  <pre><code>include /etc/redis/ideal.conf
  port 11235
  pidfile /var/run/redis-map.pid
  logfile /var/log/redis/map.log
  dbfilename map.rdb
  </code></pre>
  
  <p>As you can see, it includes /etc/redis/ideal.conf; this file actually exists and we have read permissions.
  Also there is another file, slightly different; consider [/etc/redis/storage.conf]:</p>
  
  <pre><code>include /etc/redis/ideal.conf
  
  pidfile /var/run/redis-storage.pid
  port 8000
  bind 192.168.0.3
  logfile /var/log/redis/storage.log
  dbfilename dump_storage.rdb
  </code></pre>
  
  <p>My problem is: I can launch redis-server with <strong>storage.conf</strong> (and everything works fine), but <strong>map.conf</strong> leads to the following error:</p>
  
  <pre><code>Reading the configuration file, at line 1
  &gt;&gt;&gt; 'include /etc/redis/ideal.conf'
  Bad directive or wrong number of arguments
  failed
  </code></pre>
  
  <p>Version of redis is 2.2.</p>
  
  <p>Where did I go wrong?</p>