title: using supervisord to run lsyncd script
body: <p>I'm trying to run my lsynd's script with supervisord in order to have it always run.
  I've coded this conf for my supervisor</p>
  
  <pre><code>[program:autostart_lsyncd]
  command=bash -c "lsyncd /home/sync/lsyncd_script.lua"
  autostart=true
  autorestart=unexpected
  numprocs=1
  startsecs = 0
  stderr_logfile=/var/log/autostart_sync.err.log
  stdout_logfile=/var/log/autostart_sync.out.log
  </code></pre>
  
  <p>Script runs ok at startup but it exits always</p>
  
  <pre><code>2018-04-09 09:48:49,638 INFO success: autostart_lsyncd entered RUNNING state, process has stayed up for &gt; than 0 seconds (startsecs)
  2018-04-09 09:48:49,639 INFO exited: autostart_lsyncd (exit status 0; expected)
  </code></pre>
  
  <p>I can't understand if this is the correct way to keep alive a lsynd script or not.
  Suggestions?</p>