Bug fix: needed '--' in front of 'managed-pid-dir' option